mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
Remove home-manager for now
This commit is contained in:
parent
166a6d33bb
commit
382e91c92e
1 changed files with 4 additions and 19 deletions
23
flake.nix
23
flake.nix
|
@ -7,13 +7,9 @@
|
||||||
url = github:nix-community/disko;
|
url = github:nix-community/disko;
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
home-manager = {
|
|
||||||
url = github:nix-community/home-manager;
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, disko, home-manager, ... }@inputs: {
|
outputs = { self, nixpkgs, disko, ... }@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
"nixos" = nixpkgs.lib.nixosSystem {
|
"nixos" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -24,17 +20,8 @@
|
||||||
{
|
{
|
||||||
_module.args.disks = [ "/dev/vda" ];
|
_module.args.disks = [ "/dev/vda" ];
|
||||||
}
|
}
|
||||||
# Add Home-manager
|
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
{
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
|
|
||||||
home-manager.users.aaronh = import ./home.nix;
|
|
||||||
}
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
"dev-one" = nixpkgs.lib.nixosSystem {
|
"dev-one" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -57,7 +44,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
({config, pkgs, ...}: {
|
({config, pkgs, ...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings.auto-optimise-store = true;
|
settings.auto-optimise-store = true;
|
||||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
@ -67,7 +54,6 @@
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
@ -77,7 +63,6 @@
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
systemd-boot.consoleMode = "0";
|
systemd-boot.consoleMode = "0";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -120,7 +105,7 @@
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
autoUpgrade.enable = true;
|
autoUpgrade.enable = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue