this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

KeepassXC fixes

Ben C e56190b9 15f225e1

+82 -80
+3
homeModules/keepassxc.nix
··· 14 14 }; 15 15 16 16 config = lib.mkIf config.cow.keepassxc.enable { 17 + 18 + cow.imperm.keep = [".config/keepassxc"]; 19 + 17 20 wayland.windowManager.hyprland.settings.exec-once = 18 21 lib.optionals (config.cow.gdi.enable && config.cow.keepassxc.dbPath != null) 19 22 (
+1 -1
homeModules/user-bean.nix
··· 65 65 waybar.enable = config.cow.gdi.enable; 66 66 keepassxc = { 67 67 enable = config.cow.gdi.enable; 68 - dbPath = lib.mkDefault "${config.xdg.userDirs.documents}/KeePass/DB"; 68 + dbPath = lib.mkDefault "${config.xdg.userDirs.documents}/Keepass/DB"; 69 69 }; 70 70 }; 71 71 };
+78 -79
nixosConfigurations/black-mesa.nix
··· 2 2 inputs, 3 3 outputs, 4 4 ... 5 - }: 6 - { 5 + }: { 7 6 system = "x86_64-linux"; 8 7 9 - modules = (builtins.attrValues outputs.nixosModules) ++ [ 10 - inputs.nixos-hardware.nixosModules.common-gpu-amd 11 - inputs.nixos-hardware.nixosModules.common-cpu-amd 12 - { 13 - home-manager.users.bean.home.stateVersion = "25.05"; 14 - system.stateVersion = "25.05"; 15 - networking.hostName = "black-mesa"; 8 + modules = 9 + (builtins.attrValues outputs.nixosModules) 10 + ++ [ 11 + inputs.nixos-hardware.nixosModules.common-gpu-amd 12 + inputs.nixos-hardware.nixosModules.common-cpu-amd 13 + { 14 + home-manager.users.bean.home.stateVersion = "25.05"; 15 + system.stateVersion = "25.05"; 16 + networking.hostName = "black-mesa"; 16 17 17 - powerManagement.cpuFreqGovernor = "performance"; 18 + powerManagement.cpuFreqGovernor = "performance"; 18 19 19 - boot.initrd.availableKernelModules = [ 20 - "nvme" 21 - "xhci_pci" 22 - "ahci" 23 - "usbhid" 24 - "usb_storage" 25 - "sd_mod" 26 - ]; 27 - boot.kernelModules = [ "kvm-amd" ]; 28 - boot.extraModulePackages = [ ]; 20 + boot.initrd.availableKernelModules = [ 21 + "nvme" 22 + "xhci_pci" 23 + "ahci" 24 + "usbhid" 25 + "usb_storage" 26 + "sd_mod" 27 + ]; 28 + boot.kernelModules = ["kvm-amd"]; 29 + boot.extraModulePackages = []; 29 30 30 - hardware.enableRedistributableFirmware = true; 31 + hardware.enableRedistributableFirmware = true; 31 32 32 - # Other disks handled by cow.disks 33 - fileSystems."/mnt/storage" = { 34 - device = "/dev/sda1"; 35 - fsType = "btrfs"; 36 - }; 33 + # Other disks handled by cow.disks 34 + fileSystems."/mnt/storage" = { 35 + device = "/dev/sda1"; 36 + fsType = "btrfs"; 37 + }; 37 38 38 - users.users = 39 - let 39 + users.users = let 40 40 secureRoot = "/nix/persist/secure"; 41 - in 42 - { 41 + in { 43 42 bean.hashedPasswordFile = "${secureRoot}/hashed-passwd"; 44 43 root.hashedPasswordFile = "${secureRoot}/hashed-passwd"; 45 44 }; 46 45 47 - home-manager.users.bean.cow = { 48 - sync.enable = true; 49 - dev.enable = true; 50 - }; 46 + home-manager.users.bean.cow = { 47 + sync.enable = true; 48 + dev.enable = true; 49 + }; 51 50 52 - cow = { 53 - bean.sudoer = true; 54 - lanzaboote.enable = true; 55 - ssh-server.enable = true; 56 - role-desktop.enable = true; 57 - gaming.enable = true; 58 - imperm.enable = true; 59 - disks = { 60 - enable = true; 61 - partition-prefix = "cow-bm"; 62 - swap = false; 63 - luks = true; 51 + cow = { 52 + bean.sudoer = true; 53 + lanzaboote.enable = true; 54 + ssh-server.enable = true; 55 + role-desktop.enable = true; 56 + gaming.enable = true; 57 + imperm.enable = true; 58 + disks = { 59 + enable = true; 60 + partition-prefix = "cow-bm"; 61 + swap = false; 62 + luks = true; 63 + }; 64 64 }; 65 - }; 66 - } 67 - { 68 - # Bingus! 69 - imports = [ inputs.bingus.nixosModules.default ]; 70 - nixpkgs.overlays = [ inputs.bingus.overlays.default ]; 65 + } 66 + { 67 + # Bingus! 68 + imports = [inputs.bingus.nixosModules.default]; 69 + nixpkgs.overlays = [inputs.bingus.overlays.default]; 71 70 72 - cow.imperm.keep = [ 73 - "/var/lib/private/bingus" 74 - ]; 75 - 76 - services.bingus-bot = { 77 - enable = true; 78 - tokenFile = "/nix/persist/secure/bingus-token"; 79 - replyChannels = [ 80 - 1295447496948191262 81 - 1295245646542143489 71 + cow.imperm.keep = [ 72 + "/var/lib/private/bingus" 82 73 ]; 83 - }; 84 - } 85 - { 86 - # for WOL 87 - systemd.network.links."79-eth-wol" = { 88 - matchConfig = { 89 - Type = "ether"; 90 - Driver = "!veth"; 91 - Virtualization = "false"; 74 + 75 + services.bingus-bot = { 76 + enable = true; 77 + tokenFile = "/nix/persist/secure/bingus-token"; 78 + replyChannels = [ 79 + 1295447496948191262 80 + 1295245646542143489 81 + ]; 92 82 }; 93 - linkConfig = { 94 - WakeOnLan = "magic"; 95 - NamePolicy = "keep kernel database onboard slot path"; 96 - AlternativeNamesPolicy = "database onboard slot path mac"; 97 - MACAddressPolicy = "persistent"; 83 + } 84 + { 85 + # for WOL 86 + systemd.network.links."79-eth-wol" = { 87 + matchConfig = { 88 + Type = "ether"; 89 + Driver = "!veth"; 90 + Virtualization = "false"; 91 + }; 92 + linkConfig = { 93 + WakeOnLan = "magic"; 94 + NamePolicy = "keep kernel database onboard slot path"; 95 + AlternativeNamesPolicy = "database onboard slot path mac"; 96 + MACAddressPolicy = "persistent"; 97 + }; 98 98 }; 99 - }; 100 - } 101 - ]; 99 + } 100 + ]; 102 101 }