diff --git a/flake.nix b/flake.nix index 9bf59dd..ab048bb 100644 --- a/flake.nix +++ b/flake.nix @@ -11,13 +11,14 @@ outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, ... }: let - mkHost = hostname: { + mkHost = hostname: graphical: { imports = [ ./hosts/${hostname}/configuration.nix ./modules/common (import "${home-manager}/nixos") - + (if graphical then ./modules/graphical else null) ]; + deployment = { targetUser = "root"; targetHost = hostname; @@ -35,7 +36,7 @@ }; }; - bengal = mkHost "bengal"; + bengal = mkHost "bengal" true; }; }; diff --git a/modules/common/home.nix b/modules/common/home.nix index 024a052..57c57cf 100644 --- a/modules/common/home.nix +++ b/modules/common/home.nix @@ -9,6 +9,7 @@ bat lsd gnupg + kitty ]; programs = { @@ -31,6 +32,8 @@ nushell = { enable = true; }; + + }; # Home Manager is pretty good at managing dotfiles. The primary way to manage diff --git a/modules/graphical/default.nix b/modules/graphical/default.nix new file mode 100644 index 0000000..4600a9f --- /dev/null +++ b/modules/graphical/default.nix @@ -0,0 +1,13 @@ +{ pkgs, config, lib, ... }: { + home-manager.users.sammy = { + programs = { + + librewolf.enable = true; + + kitty = { + enable = true; + theme = "Catppuccin-Mocha"; + }; + }; + }; +}