Merge branch 'master' of clank:repos/nixos

whatever
This commit is contained in:
yaroslav
2026-04-13 23:01:58 +03:00
4 changed files with 39 additions and 44 deletions
+7 -7
View File
@@ -16,7 +16,7 @@
boot.kernelParams = [
"video=DP-1:1920x1080@60"
];
boot.kernelPackages = pkgs.linuxKernel.packages.linux_lqx;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.zfs.package = pkgs.zfs_2_4;
fileSystems."/" =
{ device = "none";
@@ -55,12 +55,12 @@
fsType = "ext4";
options = [ "x-mount.mkdir" "rw" ];
};
fileSystems."/Volumes/ssd_g" =
{
device = "/dev/disk/by-id/ata-KINGSTON_SA400S37240G_50026B77846D940A-part1";
fsType = "btrfs";
options = [ "x-mount.mkdir" "rw" ];
};
# fileSystems."/Volumes/ssd_g" =
# {
# device = "/dev/disk/by-id/ata-KINGSTON_SA400S37240G_50026B77846D940A-part1";
# fsType = "btrfs";
# options = [ "x-mount.mkdir" "rw" ];
# };
swapDevices = [ ];
+5 -2
View File
@@ -18,6 +18,9 @@
wget
nfs-utils
];
#enable scanner support
hardware.sane.enable = true;
nixpkgs.config.allowUnfree = true;
programs.neovim = {
@@ -40,8 +43,8 @@
networkmanager-openvpn
];
};
networking.firewall.allowedTCPPorts = [ 22 3240 2049 25565 554 80 27040 8044 ];
networking.firewall.allowedUDPPorts = [ 38401 25565 554 80 27031 27032 27033 27034 27035 27036 3658 ];
networking.firewall.allowedTCPPorts = [ 22 3240 2049 25565 554 80 27040 8044 38008 ];
networking.firewall.allowedUDPPorts = [ 38401 25565 554 80 27031 27032 27033 27034 27035 27036 3658 38008 ];
networking.nftables.enable = true;
# tailscale