mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-16 03:50:12 +00:00
Make minimal/small/medium/full configs
This commit is contained in:
parent
f71e57df51
commit
3d6ed3ac9c
@ -18,6 +18,6 @@
|
|||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit emacs-larstvei; };
|
extraSpecialArgs = { inherit emacs-larstvei; };
|
||||||
users.larstvei.imports = [ ../../modules/home ];
|
users.larstvei.imports = [ ../../modules/home/full ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,11 @@
|
|||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager.users.larstvei.imports = [
|
||||||
|
../../modules/home/full
|
||||||
|
../../modules/desktop
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "larstvei-think";
|
networking.hostName = "larstvei-think";
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
|
||||||
../languages
|
|
||||||
../tools
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
7
modules/home/full/default.nix
Normal file
7
modules/home/full/default.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../languages
|
||||||
|
../../tools
|
||||||
|
];
|
||||||
|
}
|
13
modules/home/medium/default.nix
Normal file
13
modules/home/medium/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../languages/c
|
||||||
|
../../languages/clojure
|
||||||
|
../../languages/nix
|
||||||
|
../../languages/python
|
||||||
|
../../tools/editor
|
||||||
|
../../tools/git
|
||||||
|
../../tools/shell
|
||||||
|
../../tools/utils
|
||||||
|
];
|
||||||
|
}
|
8
modules/home/minimal/default.nix
Normal file
8
modules/home/minimal/default.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../tools/editor
|
||||||
|
../../tools/git
|
||||||
|
../../tools/shell
|
||||||
|
];
|
||||||
|
}
|
@ -15,10 +15,6 @@
|
|||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||||
users.larstvei.imports = [
|
|
||||||
../home
|
|
||||||
../desktop
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.larstvei = {
|
users.users.larstvei = {
|
||||||
|
Loading…
Reference in New Issue
Block a user