Compare commits

..

No commits in common. "deebae2a462fca0667a0489fd5ecb9d5c529aa9a" and "9aa9cc6c452c8dc9c50f2e86b14cf47b082aa090" have entirely different histories.

12 changed files with 19 additions and 59 deletions

View File

@ -32,6 +32,7 @@
# extra enabled kernel modules # extra enabled kernel modules
boot.kernelModules = [ boot.kernelModules = [
"sg" # for generic SCSI devices such as /dev/sg0 "sg" # for generic SCSI devices such as /dev/sg0
"wireguard"
]; ];
# Kernel parameter on boot # Kernel parameter on boot
@ -46,4 +47,4 @@
boot.initrd.secrets = { boot.initrd.secrets = {
"/crypto_keyfile.bin" = null; "/crypto_keyfile.bin" = null;
}; };
} }

View File

@ -19,9 +19,11 @@ in
./users/servostar/user.nix ./users/servostar/user.nix
./.luks-swap.nix ./.luks-swap.nix
./fonts.nix ./fonts.nix
./extra ./extra/dvd.nix
./core ./extra/bluray.nix
./dev ./extra/platformio.nix
./extra/yubikey.nix
./extra/language-server.nix
]; ];
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
@ -39,6 +41,8 @@ in
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
networking.wireguard.enable = true;
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -174,8 +178,6 @@ in
environment.systemPackages = (with pkgs; [ environment.systemPackages = (with pkgs; [
(python3.withPackages(python-packages)) (python3.withPackages(python-packages))
conda
virt-manager virt-manager
distrobox distrobox
@ -236,6 +238,12 @@ in
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedUDPPorts = [
51820 # wireguard client
];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;

View File

@ -1,5 +0,0 @@
{
imports = [
./dotnet.nix
];
}

View File

@ -1,5 +0,0 @@
{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
mono
];
}

View File

@ -1,7 +0,0 @@
{
imports = [
./language-server.nix
./dotnet.nix
./platformio.nix
];
}

View File

@ -1,5 +0,0 @@
{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
dotnet-sdk
];
}

View File

@ -1,8 +0,0 @@
{
imports = [
./bluray.nix
./dvd.nix
./yubikey.nix
./wireguard.nix
];
}

View File

@ -4,7 +4,5 @@
shellcheck shellcheck
lua-language-server lua-language-server
pyright pyright
arduino-language-server
clang
]; ];
} }

View File

@ -1,15 +0,0 @@
{ pkgs, config, ... }: {
networking.wireguard.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedUDPPorts = [
51820 # wireguard client
];
boot.kernelModules = [
"wireguard"
];
}

View File

@ -6,10 +6,8 @@ read -r choice
case "$choice" in case "$choice" in
y|Y ) y|Y )
echo "copying files..." echo "copying files..."
cp -rv dev /etc/nixos cp -rv extra /etc/nixos/
cp -rv core /etc/nixos cp -rv users /etc/nixos/users
cp -rv extra /etc/nixos
cp -rv users /etc/nixos
cp -rv *.nix /etc/nixos/ cp -rv *.nix /etc/nixos/
;; ;;
n|N ) n|N )

View File

@ -171,8 +171,8 @@
xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings
xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption
# kitty configuration # kitty configuration
xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf; xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf; xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf
# ------------------------------------------------------ # ------------------------------------------------------
# ZSH # ZSH