formatted all files with nixfmt, added env variable to hold secrets
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{lib, config, ... }: {
|
||||
{ lib, config, ... }: {
|
||||
options = {
|
||||
movOpts.sysEnv.nixSettings.enable = lib.mkEnableOption "enables my nixos settings";
|
||||
movOpts.sysEnv.nixSettings.enable =
|
||||
lib.mkEnableOption "enables my nixos settings";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.nixSettings.enable {
|
||||
system.stateVersion = "24.05";
|
||||
@@ -8,8 +9,8 @@
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
substituters = ["https://nix-gaming.cachix.org"];
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = [ "https://nix-gaming.cachix.org" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
||||
Reference in New Issue
Block a user