Compare commits
6 Commits
9aa9cc6c45
...
deebae2a46
Author | SHA1 | Date |
---|---|---|
Sven Vogel | deebae2a46 | |
Sven Vogel | 17880ab25c | |
Sven Vogel | 92298b4bd7 | |
Sven Vogel | c5675a751c | |
Sven Vogel | b614c69829 | |
Sven Vogel | 53f16decac |
3
boot.nix
3
boot.nix
|
@ -32,7 +32,6 @@
|
|||
# extra enabled kernel modules
|
||||
boot.kernelModules = [
|
||||
"sg" # for generic SCSI devices such as /dev/sg0
|
||||
"wireguard"
|
||||
];
|
||||
|
||||
# Kernel parameter on boot
|
||||
|
@ -47,4 +46,4 @@
|
|||
boot.initrd.secrets = {
|
||||
"/crypto_keyfile.bin" = null;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,11 +19,9 @@ in
|
|||
./users/servostar/user.nix
|
||||
./.luks-swap.nix
|
||||
./fonts.nix
|
||||
./extra/dvd.nix
|
||||
./extra/bluray.nix
|
||||
./extra/platformio.nix
|
||||
./extra/yubikey.nix
|
||||
./extra/language-server.nix
|
||||
./extra
|
||||
./core
|
||||
./dev
|
||||
];
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
@ -41,8 +39,6 @@ in
|
|||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
networking.wireguard.enable = true;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
@ -178,6 +174,8 @@ in
|
|||
environment.systemPackages = (with pkgs; [
|
||||
(python3.withPackages(python-packages))
|
||||
|
||||
conda
|
||||
|
||||
virt-manager
|
||||
distrobox
|
||||
|
||||
|
@ -238,12 +236,6 @@ in
|
|||
# Enable the OpenSSH daemon.
|
||||
# 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.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./dotnet.nix
|
||||
];
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, config, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mono
|
||||
];
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./language-server.nix
|
||||
./dotnet.nix
|
||||
./platformio.nix
|
||||
];
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, config, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
dotnet-sdk
|
||||
];
|
||||
}
|
|
@ -4,5 +4,7 @@
|
|||
shellcheck
|
||||
lua-language-server
|
||||
pyright
|
||||
arduino-language-server
|
||||
clang
|
||||
];
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
./bluray.nix
|
||||
./dvd.nix
|
||||
./yubikey.nix
|
||||
./wireguard.nix
|
||||
];
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{ 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"
|
||||
];
|
||||
}
|
|
@ -6,8 +6,10 @@ read -r choice
|
|||
case "$choice" in
|
||||
y|Y )
|
||||
echo "copying files..."
|
||||
cp -rv extra /etc/nixos/
|
||||
cp -rv users /etc/nixos/users
|
||||
cp -rv dev /etc/nixos
|
||||
cp -rv core /etc/nixos
|
||||
cp -rv extra /etc/nixos
|
||||
cp -rv users /etc/nixos
|
||||
cp -rv *.nix /etc/nixos/
|
||||
;;
|
||||
n|N )
|
||||
|
|
|
@ -171,8 +171,8 @@
|
|||
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
|
||||
# kitty configuration
|
||||
xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf
|
||||
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf
|
||||
xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf;
|
||||
xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf;
|
||||
|
||||
# ------------------------------------------------------
|
||||
# ZSH
|
||||
|
|
Loading…
Reference in New Issue