mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
cleanup and restructuring
This commit is contained in:
parent
706220f980
commit
8b2ea66132
17 changed files with 85 additions and 97 deletions
11
flake.nix
11
flake.nix
|
@ -75,18 +75,15 @@
|
|||
nixosConfigurations = {
|
||||
thinkpad = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs.inputs = attrs;
|
||||
specialArgs = attrs;
|
||||
modules = [
|
||||
./hosts/thinkpad
|
||||
./shared
|
||||
./users/rouven
|
||||
nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
home-manager.extraSpecialArgs = attrs;
|
||||
home-manager.users.rouven = {
|
||||
imports = [
|
||||
|
@ -96,9 +93,6 @@
|
|||
sops-nix.homeManagerModules.sops
|
||||
nix-index-database.hmModules.nix-index
|
||||
];
|
||||
config = {
|
||||
colorScheme = nix-colors.colorSchemes.dracula;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -109,6 +103,7 @@
|
|||
modules = [
|
||||
nixos-hardware.nixosModules.intel-nuc-8i7beh
|
||||
./hosts/nuc
|
||||
./shared
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue