dotfiles/nix/hosts/PW05CH3L/configuration.nix

52 lines
694 B
Nix
Raw Normal View History

2025-02-24 10:08:21 +00:00
{
inputs,
pkgs,
username,
...
}:
{
imports = [
../common
../../users/opdavies
];
2025-02-24 10:08:21 +00:00
environment.systemPackages = with pkgs; [
wl-clipboard
];
nixosModules = {
docker.enable = true;
};
wsl = {
enable = true;
defaultUser = username;
};
services.syncthing.enable = true;
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
nix = {
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
optimise.automatic = true;
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
warn-dirty = false;
};
};
}