diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix new file mode 100644 index 0000000..da4d833 --- /dev/null +++ b/hosts/laptop/configuration.nix @@ -0,0 +1,53 @@ +{ pkgs, ... }: +{ + imports = [ + ./modules.nix + ]; + + networking = { + hostName = "laptop"; + networkmanager = { + enable = true; + }; + }; + + users = { + users = { + laptop = { + isNormalUser = true; + description = "Laptop"; + shell = pkgs.zsh; + extraGroups = [ "networkmanager" "wheel" ]; + }; + }; + }; + + programs = { + hyprland = { + enable = true; + }; + zsh = { + enable = true; + }; + }; + + enviroment = { + systemPackages = with pkgs; [ + playerctl + nvtopPackages.nvidia + libva + libva-utils + cudatoolkit + + sddm-astraunot + ]; + sessionVariables = { + NIXOS_OZONE_WL = "1"; + }; + pathToLink = [ "/share/zsh" ]; + }; + + system = { + stateVersion = "24.11"; + }; +} diff --git a/hosts/laptop/modules.nix b/hosts/laptop/modules.nix new file mode 100644 index 0000000..02a7863 --- /dev/null +++ b/hosts/laptop/modules.nix @@ -0,0 +1,6 @@ +{ + imports = [ + ../common/modules.nix + ]; + +}