more small fixes

This commit is contained in:
Noah Masur 2025-02-17 14:18:30 -05:00
parent 78076b0de7
commit 2b988b1e9c
No known key found for this signature in database
3 changed files with 3 additions and 6 deletions

View File

@ -47,6 +47,7 @@ rec {
}; };
}; };
system.stateVersion = "23.05";
# File systems must be declared in order to boot # File systems must be declared in order to boot
# This is the root filesystem containing NixOS # This is the root filesystem containing NixOS

View File

@ -17,7 +17,7 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
unfreePackages = [ "obsidian" ]; allowUnfreePackages = [ "obsidian" ];
home.packages = with pkgs; [ obsidian ]; home.packages = with pkgs; [ obsidian ];
# Broken on 2023-12-11 # Broken on 2023-12-11

View File

@ -10,10 +10,6 @@
... ...
}: }:
let
cfg = config.secrets;
in
{ {
options = { options = {
@ -70,7 +66,7 @@ in
}; };
}; };
config = lib.mkIf (builtins.length cfg.secrets > 0) { config = lib.mkIf (builtins.length config.secrets > 0) {
# Create a default directory to place secrets # Create a default directory to place secrets