my nix configs for my servers and desktop

idk

Changed files
+20 -26
common
desktop
home
regent
hosts
focalor
-1
common/desktop/core.nix
···
hyfetch
sway-contrib.grimshot
discord
-
pamixer
];
environment.sessionVariables.NIXOS_OZONE_WL = "1";
+3 -19
home/regent/home.nix
···
};*/
ghostty.enable = true;
ghostty.flavor = "mocha";
-
nvim.enable = true;
-
nvim.flavor = "mocha";
};
programs.ghostty.enable = true;
···
theme = "catppuccin-mocha";
};
-
programs.neovim = {
-
enable = true;
-
defaultEditor = true;
-
viAlias = true;
-
vimAlias = true;
-
vimdiffAlias = true;
-
plugins = with pkgs.vimPlugins; [
-
nvim-lspconfig
-
nvim-treesitter.withAllGrammars
-
plenary-nvim
-
mini-nvim
-
];
-
};
-
home.pointerCursor = {
gtk.enable = true;
package = pkgs.phinger-cursors;
···
margin: 0px;
border: 0px;
/*background-color:rgb(0, 0, 0);*/
-
background-color: rgba(0, 0, 0, 0.8);
+
background-color: rgba(0, 0, 0, 0.9);
color: @text;
}
···
height = 34;
output = [
"HDMI-A-1"
-
"DP-1"
+
"DP-2"
];
modules-left = [ "sway/workspaces" ];
modules-center = [ "sway/window" ];
···
};
home.stateVersion = "25.05";
-
}
+
}
+16 -5
hosts/focalor/default.nix
···
networking.hostName = "focalor";
networking.hostId = "84bdc587";
-
programs.steam.enable = true;
-
programs.steam.gamescopeSession.enable = true;
-
programs.appimage.enable = true;
-
programs.appimage.binfmt = true;
-
systemd.network = {
enable = true;
netdevs."br0" = {
···
};
};
+
/*networking = {
+
firewall.enable = false;
+
firewall.trustedInterfaces = [
+
"tailscale0"
+
];
+
nameservers = [ "10.0.0.210" "1.1.1.1" ];
+
useDHCP = true;
+
firewall.allowedTCPPorts = [22 80 443 2456 2457 9000 9001 9002];
+
};*/
+
services.resolved = {
enable = true;
dnssec = "true";
···
fallbackDns = [ "10.0.0.210" "1.0.0.1#one.one.one.one" ];
dnsovertls = "true";
};
+
+
#boot.supportedFilesystems = [ "zfs" ];
+
#boot.kernelModules = [ "nct6775" "coretemp" ];
+
+
#services.zfs.autoScrub.enable = true;
+
#services.zfs.trim.enable = true;
services.vscode-server.enable = true;
services.vscode-server.nodejsPackage = pkgs.nodejs_20;
+1 -1
hosts/focalor/scripts/vm-win11-hook.sh
···
fi
if [[ "$HOOK_NAME" == "prepare" && "$STATE_NAME" == "begin" ]]; then
-
echo "do nothing"
+
start_hook
elif [[ "$HOOK_NAME" == "release" && "$STATE_NAME" == "end" ]]; then
revert_hook
fi