.
This commit is contained in:
parent
4dea2a6b3b
commit
797553ec11
3 changed files with 20 additions and 3 deletions
|
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
13
modules/graphical/default.nix
Normal file
13
modules/graphical/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, config, lib, ... }: {
|
||||||
|
home-manager.users.sammy = {
|
||||||
|
programs = {
|
||||||
|
|
||||||
|
librewolf.enable = true;
|
||||||
|
|
||||||
|
kitty = {
|
||||||
|
enable = true;
|
||||||
|
theme = "Catppuccin-Mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue