36 lines
No EOL
933 B
Nix
36 lines
No EOL
933 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
## External modules
|
|
|
|
# Better command-not-found
|
|
inputs.nix-index-database.nixosModules.nix-index
|
|
{ programs.nix-index-database.comma.enable = true; }
|
|
|
|
# Home manager
|
|
inputs.home-manager.nixosModules.home-manager
|
|
../../home-manager
|
|
{ meta.home-manager.preset = "plasma-desktop"; }
|
|
|
|
## Normal configuration
|
|
./hardware-configuration.nix
|
|
./config
|
|
];
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
nix.settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
substituters = [
|
|
"https://colmena.cachix.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
|
|
];
|
|
|
|
auto-optimise-store = true;
|
|
};
|
|
nix.gc.automatic = true;
|
|
} |