+1
common/desktop/core.nix
+1
common/desktop/core.nix
-1
common/desktop/sway.nix
-1
common/desktop/sway.nix
+19
-3
home/regent/home.nix
+19
-3
home/regent/home.nix
···
13
13
};*/
14
14
ghostty.enable = true;
15
15
ghostty.flavor = "mocha";
16
+
nvim.enable = true;
17
+
nvim.flavor = "mocha";
16
18
};
17
19
18
20
programs.ghostty.enable = true;
···
21
23
theme = "catppuccin-mocha";
22
24
};
23
25
26
+
programs.neovim = {
27
+
enable = true;
28
+
defaultEditor = true;
29
+
viAlias = true;
30
+
vimAlias = true;
31
+
vimdiffAlias = true;
32
+
plugins = with pkgs.vimPlugins; [
33
+
nvim-lspconfig
34
+
nvim-treesitter.withAllGrammars
35
+
plenary-nvim
36
+
mini-nvim
37
+
];
38
+
};
39
+
24
40
home.pointerCursor = {
25
41
gtk.enable = true;
26
42
package = pkgs.phinger-cursors;
···
71
87
margin: 0px;
72
88
border: 0px;
73
89
/*background-color:rgb(0, 0, 0);*/
74
-
background-color: rgba(0, 0, 0, 0.9);
90
+
background-color: rgba(0, 0, 0, 0.8);
75
91
color: @text;
76
92
}
77
93
···
130
146
height = 34;
131
147
output = [
132
148
"HDMI-A-1"
133
-
"DP-2"
149
+
"DP-1"
134
150
];
135
151
modules-left = [ "sway/workspaces" ];
136
152
modules-center = [ "sway/window" ];
···
145
161
};
146
162
147
163
home.stateVersion = "25.05";
148
-
}
164
+
}
+5
-16
hosts/focalor/default.nix
+5
-16
hosts/focalor/default.nix
···
36
36
networking.hostName = "focalor";
37
37
networking.hostId = "84bdc587";
38
38
39
+
programs.steam.enable = true;
40
+
programs.steam.gamescopeSession.enable = true;
41
+
programs.appimage.enable = true;
42
+
programs.appimage.binfmt = true;
43
+
39
44
systemd.network = {
40
45
enable = true;
41
46
netdevs."br0" = {
···
64
69
};
65
70
};
66
71
67
-
/*networking = {
68
-
firewall.enable = false;
69
-
firewall.trustedInterfaces = [
70
-
"tailscale0"
71
-
];
72
-
nameservers = [ "10.0.0.210" "1.1.1.1" ];
73
-
useDHCP = true;
74
-
firewall.allowedTCPPorts = [22 80 443 2456 2457 9000 9001 9002];
75
-
};*/
76
-
77
72
services.resolved = {
78
73
enable = true;
79
74
dnssec = "true";
···
81
76
fallbackDns = [ "10.0.0.210" "1.0.0.1#one.one.one.one" ];
82
77
dnsovertls = "true";
83
78
};
84
-
85
-
#boot.supportedFilesystems = [ "zfs" ];
86
-
#boot.kernelModules = [ "nct6775" "coretemp" ];
87
-
88
-
#services.zfs.autoScrub.enable = true;
89
-
#services.zfs.trim.enable = true;
90
79
91
80
services.vscode-server.enable = true;
92
81
services.vscode-server.nodejsPackage = pkgs.nodejs_20;
+1
-1
hosts/focalor/scripts/vm-win11-hook.sh
+1
-1
hosts/focalor/scripts/vm-win11-hook.sh
-18
hosts/focalor/vfio.nix
-18
hosts/focalor/vfio.nix
···
37
37
};
38
38
in
39
39
[ env ];
40
-
41
-
/*preStart =
42
-
''
43
-
mkdir -p /var/lib/libvirt/hooks
44
-
mkdir -p /var/lib/libvirt/hooks/qemu.d/win10/prepare/begin
45
-
mkdir -p /var/lib/libvirt/hooks/qemu.d/win10/release/end
46
-
mkdir -p /var/lib/libvirt/vgabios
47
-
48
-
ln -sf /home/regent/symlinks/qemu /var/lib/libvirt/hooks/qemu
49
-
ln -sf /home/regent/symlinks/kvm.conf /var/lib/libvirt/hooks/kvm.conf
50
-
ln -sf /home/regent/symlinks/start.sh /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh
51
-
ln -sf /home/regent/symlinks/stop.sh /var/lib/libvirt/hooks/qemu.d/win11/release/end/stop.sh
52
-
53
-
chmod +x /var/lib/libvirt/hooks/qemu
54
-
chmod +x /var/lib/libvirt/hooks/kvm.conf
55
-
chmod +x /var/lib/libvirt/hooks/qemu.d/win11/prepare/begin/start.sh
56
-
chmod +x /var/lib/libvirt/hooks/qemu.d/win11/release/end/stop.sh
57
-
'';*/
58
40
};
59
41
60
42
users.extraUsers.regent.extraGroups = [ "libvirtd" ];