This commit is contained in:
CherryKitten 2024-03-24 19:02:21 +01:00
parent 4dea2a6b3b
commit 797553ec11
Signed by: sammy
GPG key ID: 98D8F75FB0658276
3 changed files with 20 additions and 3 deletions

View file

@ -11,13 +11,14 @@
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, ... }: outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, ... }:
let let
mkHost = hostname: { mkHost = hostname: graphical: {
imports = [ imports = [
./hosts/${hostname}/configuration.nix ./hosts/${hostname}/configuration.nix
./modules/common ./modules/common
(import "${home-manager}/nixos") (import "${home-manager}/nixos")
(if graphical then ./modules/graphical else null)
]; ];
deployment = { deployment = {
targetUser = "root"; targetUser = "root";
targetHost = hostname; targetHost = hostname;
@ -35,7 +36,7 @@
}; };
}; };
bengal = mkHost "bengal"; bengal = mkHost "bengal" true;
}; };
}; };

View file

@ -9,6 +9,7 @@
bat bat
lsd lsd
gnupg gnupg
kitty
]; ];
programs = { programs = {
@ -31,6 +32,8 @@
nushell = { nushell = {
enable = true; enable = true;
}; };
}; };
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage

View file

@ -0,0 +1,13 @@
{ pkgs, config, lib, ... }: {
home-manager.users.sammy = {
programs = {
librewolf.enable = true;
kitty = {
enable = true;
theme = "Catppuccin-Mocha";
};
};
};
}