tangled
alpha
login
or
join now
bwc9876.dev
/
nixos-config
1
fork
atom
Flake for my NixOS devices
1
fork
atom
overview
issues
pulls
pipelines
Fix some impermanence stuff
bwc9876.dev
4 months ago
954a8c04
4418b81a
verified
This commit was signed with the committer's
known signature
.
bwc9876.dev
SSH Key Fingerprint:
SHA256:DanMEP/RNlSC7pAVbnXO6wzQV00rqyKj053tz4uH5gQ=
+5
-7
2 changed files
expand all
collapse all
unified
split
homeModules
keepassxc.nix
nixosModules
hypervisor.nix
+1
-1
homeModules/keepassxc.nix
···
14
14
};
15
15
16
16
config = lib.mkIf config.cow.keepassxc.enable {
17
17
-
cow.imperm.keep = [".config/keepassxc"];
17
17
+
cow.imperm.keepCache = [".config/keepassxc"];
18
18
19
19
wayland.windowManager.hyprland.settings.exec-once =
20
20
lib.optionals (config.cow.gdi.enable && config.cow.keepassxc.dbPath != null)
+4
-6
nixosModules/hypervisor.nix
···
1
1
-
{ ... }:
2
2
-
{
1
1
+
{...}: {
3
2
config,
4
3
lib,
5
4
pkgs,
6
5
...
7
7
-
}:
8
8
-
{
6
6
+
}: {
9
7
options.cow.hypervisor = {
10
8
enable = lib.mkEnableOption "Enable running VMs";
11
9
};
12
10
13
11
config = lib.mkIf config.cow.hypervisor.enable {
14
14
-
users.users.bean.extraGroups = lib.mkIf config.cow.bean.enable [ "libvirtd" ];
12
12
+
users.users.bean.extraGroups = lib.mkIf config.cow.bean.enable ["libvirtd"];
15
13
16
16
-
cow.imperm.keep = [ "/var/lib/libvirt" ];
14
14
+
cow.imperm.keepCache = ["/var/lib/libvirt"];
17
15
18
16
programs.virt-manager.enable = config.cow.gdi.enable;
19
17