mirror of
https://github.com/larstvei/nix-config.git
synced 2026-02-01 08:10:12 +00:00
Compare commits
3 Commits
f71e57df51
...
bc7c7a5f7e
| Author | SHA1 | Date | |
|---|---|---|---|
| bc7c7a5f7e | |||
| 8618bcc623 | |||
| 3d6ed3ac9c |
@ -18,6 +18,6 @@
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit emacs-larstvei; };
|
||||
users.larstvei.imports = [ ../../modules/home ];
|
||||
users.larstvei.imports = [ ../../modules/home/full ];
|
||||
};
|
||||
}
|
||||
|
||||
@ -6,6 +6,11 @@
|
||||
../../modules/nixos
|
||||
];
|
||||
|
||||
home-manager.users.larstvei.imports = [
|
||||
../../modules/home/full
|
||||
../../modules/desktop
|
||||
];
|
||||
|
||||
networking.hostName = "larstvei-think";
|
||||
|
||||
# Bootloader.
|
||||
|
||||
@ -9,8 +9,6 @@
|
||||
package = pkgs.nix;
|
||||
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
@ -35,6 +33,8 @@
|
||||
"larstvei.cachix.org-1:mJq98qeTBnm2xNNibn2BEwN1ggi6uQg+5hWASdG1Vys="
|
||||
];
|
||||
};
|
||||
|
||||
optimise.automatic = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
|
||||
@ -4,7 +4,20 @@
|
||||
../homebrew
|
||||
];
|
||||
|
||||
nix.linux-builder.enable = true;
|
||||
nix.linux-builder = {
|
||||
enable = true;
|
||||
ephemeral = true;
|
||||
maxJobs = 4;
|
||||
config = {
|
||||
virtualisation = {
|
||||
darwin-builder = {
|
||||
diskSize = 200 * 1024;
|
||||
memorySize = 8 * 1024;
|
||||
};
|
||||
cores = 6;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system = {
|
||||
stateVersion = 4;
|
||||
|
||||
@ -1,9 +1,4 @@
|
||||
{
|
||||
imports = [
|
||||
../languages
|
||||
../tools
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
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;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||
users.larstvei.imports = [
|
||||
../home
|
||||
../desktop
|
||||
];
|
||||
};
|
||||
|
||||
users.users.larstvei = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user