diff --git a/configuration.nix b/configuration.nix index e5a2e2c..ef08d8e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -90,7 +90,7 @@ # Enable/Disable hardware ## Turn off PulseAudio - hardware.pulseaudio.enable = false; + services.pulseaudio.enable = false; # Enable Pipewire security.rtkit.enable = true; diff --git a/flake.nix b/flake.nix index 73744a9..12b980d 100644 --- a/flake.nix +++ b/flake.nix @@ -92,6 +92,34 @@ ]; }; + "lemp13" = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + # Add Disko for disk management + disko.nixosModules.disko + ./disko-config.nix +# ./gnome.nix + ./lemp13.nix + ./configuration.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.aaronh = import ./home.nix; + } + nixos-hardware.nixosModules.system76 + #nixos-hardware.nixosModules.system76-galp5-1650 + { + nix.settings = { + substituters = [ "https://cosmic.cachix.org/" ]; + trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ]; + }; + } + nixos-cosmic.nixosModules.default + ]; + }; + "drack" = nixpkgs.lib.nixosSystem { system = "aarch64-linux"; modules = [ diff --git a/hosts/x86_64/lemp13.nix b/hosts/x86_64/lemp13.nix new file mode 100644 index 0000000..64149ff --- /dev/null +++ b/hosts/x86_64/lemp13.nix @@ -0,0 +1,25 @@ +{ config, pkgs, ... }: + +{ + # Name your host machine + networking.hostName = "lemp13"; + + # System76 + environment.systemPackages = with pkgs; [ + system76-keyboard-configurator + firmware-manager + + # COSMIC Utils + cosmic-ext-tweaks + cosmic-ext-forecast + cosmic-ext-tasks + cosmic-ext-calculator + cosmic-ext-examine + stellarshot + ]; + + # COSMIC + services.desktopManager.cosmic.enable = true; + services.displayManager.cosmic-greeter.enable = true; + +}