.
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, ... }:
|
||||
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;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
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