nixos/Vanguard.nix

55 lines
1.6 KiB
Nix
Raw Normal View History

{ pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in
{
imports = [
(import "${home-manager}/nixos")
./common.nix
./hardware/audio.nix
./hardware/bluetooth.nix
./locales/en_GB.nix
./desktop/hyprland.nix
./desktop/steam.nix
];
networking.hostName = "Vanguard"; # Define your hostname.
#networking.wireless.networks."LAN LAN Ranch".pskRaw = "d4c31e976456783b61d573ee49c94f93914a81bf1048c2f2e1e166c36bdfcd4a";
networking.extraHosts = ''
192.168.1.230 Legion
'';
networking.nameservers = [ "192.168.1.230" ];
2023-05-04 11:06:12 +01:00
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
2023-05-04 06:25:27 +01:00
services.xserver.displayManager.defaultSession = "steam";
# Define a user account. Don't forget to set a password with passwd.
users.users.xenia = {
isNormalUser = true;
description = "Evie Litherland-Smith";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.fish;
2023-05-04 11:06:12 +01:00
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch" ];
};
home-manager.users.xenia = { ... }: {
imports = [ ./home/collections/personal ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11";
};
2023-04-04 18:19:44 +01:00
# Extra hardware configuration
hardware.openrazer = {
enable = true;
users = [ "xenia" ];
};
system.autoUpgrade = {
enable = true;
allowReboot = false;
};
}