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 |
1
boot.nix
1
boot.nix
|
@ -32,7 +32,6 @@
|
||||||
# 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
|
||||||
|
|
|
@ -19,11 +19,9 @@ in
|
||||||
./users/servostar/user.nix
|
./users/servostar/user.nix
|
||||||
./.luks-swap.nix
|
./.luks-swap.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./extra/dvd.nix
|
./extra
|
||||||
./extra/bluray.nix
|
./core
|
||||||
./extra/platformio.nix
|
./dev
|
||||||
./extra/yubikey.nix
|
|
||||||
./extra/language-server.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
@ -41,8 +39,6 @@ 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;
|
||||||
|
|
||||||
|
@ -178,6 +174,8 @@ in
|
||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
(python3.withPackages(python-packages))
|
(python3.withPackages(python-packages))
|
||||||
|
|
||||||
|
conda
|
||||||
|
|
||||||
virt-manager
|
virt-manager
|
||||||
distrobox
|
distrobox
|
||||||
|
|
||||||
|
@ -238,12 +236,6 @@ 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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
shellcheck
|
||||||
lua-language-server
|
lua-language-server
|
||||||
pyright
|
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
|
case "$choice" in
|
||||||
y|Y )
|
y|Y )
|
||||||
echo "copying files..."
|
echo "copying files..."
|
||||||
cp -rv extra /etc/nixos/
|
cp -rv dev /etc/nixos
|
||||||
cp -rv users /etc/nixos/users
|
cp -rv core /etc/nixos
|
||||||
|
cp -rv extra /etc/nixos
|
||||||
|
cp -rv users /etc/nixos
|
||||||
cp -rv *.nix /etc/nixos/
|
cp -rv *.nix /etc/nixos/
|
||||||
;;
|
;;
|
||||||
n|N )
|
n|N )
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue