renamed some files and directories that had identical filenames. Altered some nixvim plugin options. Set up gpg signing for git commits.
This commit is contained in:
24
modules/sys/sysenv/nix.nix
Executable file
24
modules/sys/sysenv/nix.nix
Executable file
@@ -0,0 +1,24 @@
|
||||
{ lib, config, ... }: {
|
||||
options = {
|
||||
movOpts.sysEnv.nixSettings.enable =
|
||||
lib.mkEnableOption "enables my nixos settings";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.nixSettings.enable {
|
||||
system.stateVersion = "24.05";
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = [ "https://nix-gaming.cachix.org" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
time.timeZone = "America/New_York";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user