First working version of home-manager alone
Useful for my work laptop by now
This commit is contained in:
parent
0e22d1d36a
commit
c61d4e89bd
3 changed files with 37 additions and 6 deletions
14
flake.nix
14
flake.nix
|
@ -72,11 +72,7 @@ in {
|
|||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit stateVersion inputs;
|
||||
hostname = "luci";
|
||||
username = "ephase";
|
||||
hostConfig = {
|
||||
desktop = true;
|
||||
};
|
||||
|
||||
};
|
||||
modules = [
|
||||
./nixos/default.nix
|
||||
|
@ -95,6 +91,14 @@ in {
|
|||
hostname = "rick";
|
||||
username = "ephase";
|
||||
};
|
||||
};
|
||||
work = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {
|
||||
inherit stateVersion inputs;
|
||||
hostname = "yorick-Latitude-7320";
|
||||
username = "yorick";
|
||||
};
|
||||
modules = [
|
||||
./home-manager/default.nix
|
||||
];
|
||||
|
|
|
@ -15,5 +15,4 @@
|
|||
]++ lib.optional (
|
||||
builtins.pathExists ../hosts/${hostname}/includes/home-manager.nix
|
||||
) ../hosts/${hostname}/includes/home-manager.nix;
|
||||
|
||||
}
|
||||
|
|
28
hosts/yorick-Latitude-7320/home-config.nix
Normal file
28
hosts/yorick-Latitude-7320/home-config.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ ... }: {
|
||||
config.modules = {
|
||||
application = {
|
||||
zathura.enable = true;
|
||||
};
|
||||
cli = {
|
||||
neovim.enable = true;
|
||||
vifm.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
video = {
|
||||
kdenlive.enable = false;
|
||||
mpv.enable = false;
|
||||
};
|
||||
web.firefox.enable = false;
|
||||
web.qutebrowser.enable = false;
|
||||
web.webcord.enable = false;
|
||||
gaming.lutris.enable = false;
|
||||
desktop.sway = {
|
||||
enable = false;
|
||||
kanshi = false;
|
||||
waybar = {
|
||||
laptop = false;
|
||||
gpuThermal.enable = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue