mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 11:51:54 -05:00
simplified home-mamager config in flake
This commit is contained in:
parent
1562a8f24c
commit
1889916398
40
flake.nix
40
flake.nix
|
@ -40,21 +40,27 @@
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
|
# # Framework 13 with AMD Ryzen 7640U and 32GB RAM.
|
||||||
|
# lavaridge = nixpkgs-unstable.lib.nixosSystem {
|
||||||
|
# system = "x86_64-linux";
|
||||||
|
# modules = [
|
||||||
|
# ./hosts/lavaridge
|
||||||
|
# ./desktop/gnome
|
||||||
|
|
||||||
|
# # Add home-manager nixos module so home-manager config deploys on nixos-rebuild.
|
||||||
|
# home-manager-unstable.nixosModules.home-manager
|
||||||
|
# # nixos-hardware configuration for fw13-amd.
|
||||||
|
# nixos-hardware.nixosModules.framework-13-7040-amd
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
# T440p with i5-4210M and 16GB RAM.
|
# T440p with i5-4210M and 16GB RAM.
|
||||||
rustboro = nixpkgs-unstable.lib.nixosSystem {
|
rustboro = nixpkgs-unstable.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/rustboro
|
./hosts/rustboro
|
||||||
./desktop/kde
|
./desktop/kde
|
||||||
|
home-manager-unstable.nixosModules.home-manager
|
||||||
# Add home-manager nixos module so home-manager config deploys on nixos-rebuild.
|
|
||||||
home-manager-unstable.nixosModules.home-manager {
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
home-manager.users.aly = import ./home/aly;
|
|
||||||
}
|
|
||||||
|
|
||||||
# nixos-hardware configuration for t440p
|
|
||||||
nixos-hardware.nixosModules.lenovo-thinkpad-t440p
|
nixos-hardware.nixosModules.lenovo-thinkpad-t440p
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -65,13 +71,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/petalburg
|
./hosts/petalburg
|
||||||
./desktop/gnome
|
./desktop/gnome
|
||||||
|
home-manager-unstable.nixosModules.home-manager
|
||||||
# Add home-manager nixos module so home-manager config deploys on nixos-rebuild.
|
|
||||||
home-manager-unstable.nixosModules.home-manager {
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
home-manager.users.aly = import ./home/aly;
|
|
||||||
}
|
|
||||||
nixos-hardware.nixosModules.common-pc-laptop-ssd
|
nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||||
nixos-hardware.nixosModules.common-cpu-intel
|
nixos-hardware.nixosModules.common-cpu-intel
|
||||||
];
|
];
|
||||||
|
@ -85,13 +85,7 @@
|
||||||
./desktop/gnome
|
./desktop/gnome
|
||||||
./modules/homelab
|
./modules/homelab
|
||||||
./modules/steam
|
./modules/steam
|
||||||
|
home-manager-unstable.nixosModules.home-manager
|
||||||
# Add home-manager nixos module so home-manager config deploys on nixos-rebuild.
|
|
||||||
home-manager-unstable.nixosModules.home-manager {
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
home-manager.users.aly = import ./home/aly;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,4 +63,7 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,4 +7,6 @@
|
||||||
description = "Aly Raffauf";
|
description = "Aly Raffauf";
|
||||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" ];
|
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.aly = import ../../home/aly;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue