mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 09: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 = {
|
||||
|
||||
# # 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.
|
||||
rustboro = nixpkgs-unstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/rustboro
|
||||
./desktop/kde
|
||||
|
||||
# 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
|
||||
home-manager-unstable.nixosModules.home-manager
|
||||
nixos-hardware.nixosModules.lenovo-thinkpad-t440p
|
||||
];
|
||||
};
|
||||
|
@ -65,13 +71,7 @@
|
|||
modules = [
|
||||
./hosts/petalburg
|
||||
./desktop/gnome
|
||||
|
||||
# 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;
|
||||
}
|
||||
home-manager-unstable.nixosModules.home-manager
|
||||
nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
];
|
||||
|
@ -85,13 +85,7 @@
|
|||
./desktop/gnome
|
||||
./modules/homelab
|
||||
./modules/steam
|
||||
|
||||
# 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;
|
||||
}
|
||||
home-manager-unstable.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -63,4 +63,7 @@
|
|||
'';
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
}
|
||||
|
|
|
@ -7,4 +7,6 @@
|
|||
description = "Aly Raffauf";
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" ];
|
||||
};
|
||||
|
||||
home-manager.users.aly = import ../../home/aly;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue