big staging update

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2025-12-29 16:42:07 +03:00
parent 0bf4c9cfca
commit 2939b08891
324 changed files with 6897 additions and 6797 deletions

View file

@ -1,42 +1,42 @@
{lib, ...}: {
boot = {
initrd = {
availableKernelModules = [
"ehci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"sdhci_pci"
"btrfs"
"battery"
"thinkpad_acpi"
"cryptd"
];
boot = {
initrd = {
availableKernelModules = [
"ehci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"sdhci_pci"
"btrfs"
"battery"
"thinkpad_acpi"
"cryptd"
];
supportedFilesystems = {
vfat = true;
btrfs = true;
zfs = lib.mkForce false;
};
supportedFilesystems = {
vfat = true;
btrfs = true;
zfs = lib.mkForce false;
};
kernelModules = [
"i915"
];
kernelModules = [
"i915"
];
luks = {
devices = {
cryptroot = {
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL-part2";
};
};
};
systemd = {
enable = true;
};
verbose = false;
luks = {
devices = {
cryptroot = {
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL-part2";
};
};
};
systemd = {
enable = true;
};
verbose = false;
};
};
}

View file

@ -1,85 +1,85 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
boot = {
kernel = {
sysctl = {
"vm.swappiness" = 100;
"vm.dirty_background_bytes" = 67108864;
"vm.dirty_bytes" = 268435456;
"vm.dirty_expire_centisecs" = 1500;
"vm.dirty_writeback_centisecs" = 100;
"vm.vfs_cache_pressure" = 50;
"vm.max_map_count" = 1048576;
};
};
kernelPackages = pkgs.linuxPackages_zen;
extraModprobeConfig = ''
options thinkpad_acpi fan_control=1
'';
kernelParams = [
"i915.enable_rc6=7"
"udev.log_priority=3"
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"debugfs=off"
"page_alloc.shuffle=1"
"page_poison=1"
"slab_nomerge"
"kernel.watchdog=0"
"oops=panic"
];
kernelModules = [
"tp_smapi"
];
blacklistedKernelModules = [
"k10temp"
"ax25"
"netrom"
"rose"
"adfs"
"affs"
"bfs"
"befs"
"cramfs"
"efs"
"erofs"
"exofs"
"freevxfs"
"f2fs"
"hfs"
"hpfs"
"jfs"
"minix"
"nilfs2"
"ntfs"
"omfs"
"qnx4"
"qnx6"
"sysv"
"ufs"
"sp5100-tco"
"iTCO_wdt"
];
supportedFilesystems = {
vfat = true;
btrfs = true;
zfs = lib.mkForce false;
};
# consoleLogLevel = 0;
boot = {
kernel = {
sysctl = {
"vm.swappiness" = 100;
"vm.dirty_background_bytes" = 67108864;
"vm.dirty_bytes" = 268435456;
"vm.dirty_expire_centisecs" = 1500;
"vm.dirty_writeback_centisecs" = 100;
"vm.vfs_cache_pressure" = 50;
"vm.max_map_count" = 1048576;
};
};
kernelPackages = pkgs.linuxPackages_zen;
extraModprobeConfig = ''
options thinkpad_acpi fan_control=1
'';
kernelParams = [
"i915.enable_rc6=7"
"udev.log_priority=3"
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"debugfs=off"
"page_alloc.shuffle=1"
"page_poison=1"
"slab_nomerge"
"kernel.watchdog=0"
"oops=panic"
];
kernelModules = [
"tp_smapi"
];
blacklistedKernelModules = [
"k10temp"
"ax25"
"netrom"
"rose"
"adfs"
"affs"
"bfs"
"befs"
"cramfs"
"efs"
"erofs"
"exofs"
"freevxfs"
"f2fs"
"hfs"
"hpfs"
"jfs"
"minix"
"nilfs2"
"ntfs"
"omfs"
"qnx4"
"qnx6"
"sysv"
"ufs"
"sp5100-tco"
"iTCO_wdt"
];
supportedFilesystems = {
vfat = true;
btrfs = true;
zfs = lib.mkForce false;
};
# consoleLogLevel = 0;
};
}

View file

@ -1,13 +1,13 @@
{...}: {
boot = {
lanzaboote = {
enable = true;
configurationLimit = 7;
pkiBundle = "/var/lib/sbctl";
settings = {
timeout = 2;
sortKey = "lanza";
};
};
boot = {
lanzaboote = {
enable = true;
configurationLimit = 7;
pkiBundle = "/var/lib/sbctl";
settings = {
timeout = 2;
sortKey = "lanza";
};
};
};
}

View file

@ -1,19 +1,19 @@
{lib, ...}: {
boot = {
loader = {
systemd-boot = {
enable = lib.mkDefault false;
sortKey = "nixos";
memtest86 = {
enable = true;
sortKey = "o_memtest86";
};
netbootxyz = {
enable = false;
sortKey = "o_netbootxyz";
};
};
boot = {
loader = {
systemd-boot = {
enable = lib.mkDefault false;
sortKey = "nixos";
memtest86 = {
enable = true;
sortKey = "o_memtest86";
};
netbootxyz = {
enable = false;
sortKey = "o_netbootxyz";
};
};
};
};
}

View file

@ -1,10 +1,10 @@
{pkgs, ...}: {
boot = {
plymouth = {
enable = true;
themePackages = with pkgs; [
nixos-bgrt-plymouth
];
};
boot = {
plymouth = {
enable = true;
themePackages = with pkgs; [
nixos-bgrt-plymouth
];
};
};
}

View file

@ -1,8 +1,8 @@
{...}: {
boot = {
tmp = {
useTmpfs = true;
cleanOnBoot = true;
};
boot = {
tmp = {
useTmpfs = true;
cleanOnBoot = true;
};
};
}

View file

@ -1,5 +1,5 @@
{...}: {
console = {
useXkbConfig = true;
};
console = {
useXkbConfig = true;
};
}

View file

@ -1,99 +1,99 @@
{self, ...}: {
imports = [
./disko/disk.nix
./disko/lvm_vg.nix
imports = [
"${self}/s0melapt0p-nix/disko/disk.nix"
"${self}/s0melapt0p-nix/disko/lvm_vg.nix"
./boot/loader/systemd-boot.nix
./boot/lanzaboote.nix
./boot/initrd.nix
./boot/kernel.nix
./boot/plymouth.nix
./boot/tmp.nix
"${self}/s0melapt0p-nix/boot/loader/system-boot.nix"
"${self}/s0melapt0p-nix/boot/lanzaboote.nix"
"${self}/s0melapt0p-nix/boot/initrd.nix"
"${self}/s0melapt0p-nix/boot/kernel.nix"
"${self}/s0melapt0p-nix/boot/plymouth.nix"
"${self}/s0melapt0p-nix/boot/tmp.nix"
./console/console.nix
"${self}/s0melapt0p-nix/console/console.nix"
./environment/systemPackages.nix
./environment/variables.nix
"${self}/s0melapt0p-nix/environment/systemPackages.nix"
"${self}/s0melapt0p-nix/environment/variables.nix"
./hardware/cpu.nix
./hardware/graphics.nix
./hardware/qmk.nix
./hardware/zram.nix
"${self}/s0melapt0p-nix/hardware/cpu.nix"
"${self}/s0melapt0p-nix/hardware/graphics.nix"
"${self}/s0melapt0p-nix/hardware/qmk.nix"
"${self}/s0melapt0p-nix/hardware/zram.nix"
./home-manager/users.nix
"${self}/s0melapt0p-nix/home-manager/users.nix"
./i18n/locales.nix
"${self}/s0melapt0p-nix/i18n/locales.nix"
./networking/dhcp.nix
./networking/firewall.nix
./networking/hostname.nix
./networking/networkmanager.nix
./networking/wireguard.nix
./networking/nameservers.nix
./networking/hosts.nix
./networking/hostId.nix
"${self}/s0melapt0p-nix/networking/dhcp.nix"
"${self}/s0melapt0p-nix/networking/firewall.nix"
"${self}/s0melapt0p-nix/networking/hostname.nix"
"${self}/s0melapt0p-nix/networking/networkmanager.nix"
"${self}/s0melapt0p-nix/networking/wireguard.nix"
"${self}/s0melapt0p-nix/networking/nameservers.nix"
"${self}/s0melapt0p-nix/networking/hosts.nix"
"${self}/s0melapt0p-nix/networking/hostId.nix"
./nix/package.nix
./nix/settings/allowed-users.nix
./nix/settings/experimental-features.nix
./nix/settings/substituters.nix
./nix/settings/trusted-public-keys.nix
./nix/settings/trusted-users.nix
"${self}/s0melapt0p-nix/nix/package.nix"
"${self}/s0melapt0p-nix/nix/settings/allowed-users.nix"
"${self}/s0melapt0p-nix/nix/settings/experimental-features.nix"
"${self}/s0melapt0p-nix/nix/settings/substituters.nix"
"${self}/s0melapt0p-nix/nix/settings/trusted-public-keys.nix"
"${self}/s0melapt0p-nix/nix/settings/trusted-users.nix"
./nixpkgs/config.nix
./nixpkgs/system.nix
"${self}/s0melapt0p-nix/nixpkgs/config.nix"
"${self}/s0melapt0p-nix/nixpkgs/system.nix"
./programs/gamemode.nix
./programs/nh.nix
./programs/steam.nix
./programs/ssh.nix
./programs/yubikey-touch-detector.nix
"${self}/s0melapt0p-nix/programs/gamemode.nix"
"${self}/s0melapt0p-nix/programs/nh.nix"
"${self}/s0melapt0p-nix/programs/steam.nix"
"${self}/s0melapt0p-nix/programs/ssh.nix"
"${self}/s0melapt0p-nix/programs/yubikey-touch-detector.nix"
./security/polkit.nix
./security/rtkit.nix
./security/sudo.nix
./security/sudo-rs.nix
./security/pam/services.nix
"${self}/s0melapt0p-nix/security/polkit.nix"
"${self}/s0melapt0p-nix/security/rtkit.nix"
"${self}/s0melapt0p-nix/security/sudo.nix"
"${self}/s0melapt0p-nix/security/sudo-rs.nix"
"${self}/s0melapt0p-nix/security/pam/services.nix"
./services/fprintd.nix
./services/greetd.nix
./services/libinput.nix
./services/openssh.nix
./services/pipewire.nix
./services/qmk.nix
./services/thinkfan.nix
./services/usbmuxd.nix
./services/xserver.nix
./services/zapret.nix
./services/zerotier.nix
./services/yggdrasil.nix
./services/netbird.nix
./services/yubikey-agent.nix
"${self}/s0melapt0p-nix/services/fprintd.nix"
"${self}/s0melapt0p-nix/services/greetd.nix"
"${self}/s0melapt0p-nix/services/libinput.nix"
"${self}/s0melapt0p-nix/services/openssh.nix"
"${self}/s0melapt0p-nix/services/pipewire.nix"
"${self}/s0melapt0p-nix/services/qmk.nix"
"${self}/s0melapt0p-nix/services/thinkfan.nix"
"${self}/s0melapt0p-nix/services/usbmuxd.nix"
"${self}/s0melapt0p-nix/services/xserver.nix"
"${self}/s0melapt0p-nix/services/zapret.nix"
"${self}/s0melapt0p-nix/services/zerotier.nix"
"${self}/s0melapt0p-nix/services/yggdrasil.nix"
"${self}/s0melapt0p-nix/services/netbird.nix"
"${self}/s0melapt0p-nix/services/yubikey-agent.nix"
./sops/defaults.nix
./sops/secrets.nix
"${self}/s0melapt0p-nix/sops/defaults.nix"
"${self}/s0melapt0p-nix/sops/secrets.nix"
"${self}/hand7s/stylix/base16Scheme.nix"
"${self}/hand7s/stylix/cursor.nix"
"${self}/hand7s/stylix/defaults.nix"
"${self}/hand7s/stylix/fonts.nix"
"${self}/hand7s/stylix/image.nix"
"${self}/hand7s/stylix/base16Scheme.nix"
"${self}/hand7s/stylix/cursor.nix"
"${self}/hand7s/stylix/defaults.nix"
"${self}/hand7s/stylix/fonts.nix"
"${self}/hand7s/stylix/image.nix"
./system/name.nix
./system/stateVersion.nix
"${self}/s0melapt0p-nix/system/name.nix"
"${self}/s0melapt0p-nix/system/stateVersion.nix"
./systemd/oomd.nix
"${self}/s0melapt0p-nix/systemd/oomd.nix"
./time/timeZone.nix
"${self}/s0melapt0p-nix/time/timeZone.nix"
./users/users/hand7s.nix
./users/users/root.nix
./users/mutableUsers.nix
"${self}/s0melapt0p-nix/users/users/hand7s.nix"
"${self}/s0melapt0p-nix/users/users/root.nix"
"${self}/s0melapt0p-nix/users/mutableUsers.nix"
./virtualisation/docker.nix
"${self}/s0melapt0p-nix/virtualisation/docker.nix"
./xdg/icons.nix
./xdg/mime.nix
./xdg/portal.nix
];
"${self}/s0melapt0p-nix/xdg/icons.nix"
"${self}/s0melapt0p-nix/xdg/mime.nix"
"${self}/s0melapt0p-nix/xdg/portal.nix"
];
}

View file

@ -1,47 +1,47 @@
{...}: {
disko = {
devices = {
disk = {
main = {
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "1024M";
name = "boot";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [
"fmask=0022"
"dmask=0022"
];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "lvm-crypted";
settings = {
allowDiscards = true;
};
content = {
type = "lvm_pv";
vg = "pool";
};
};
};
};
};
disko = {
devices = {
disk = {
main = {
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "1024M";
name = "boot";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [
"fmask=0022"
"dmask=0022"
];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "lvm-crypted";
settings = {
allowDiscards = true;
};
content = {
type = "lvm_pv";
vg = "pool";
};
};
};
};
};
};
};
};
};
}

View file

@ -1,57 +1,57 @@
{...}: {
disko = {
devices = {
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "100%";
content = {
type = "btrfs";
extraArgs = [
"-f"
];
disko = {
devices = {
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "100%";
content = {
type = "btrfs";
extraArgs = [
"-f"
];
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
"/home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"max_inline=256"
"commit=100"
"ssd_spread"
"noatime"
];
};
"/home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"max_inline=256"
"commit=100"
"ssd_spread"
"noatime"
];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
};
};
};
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
};
};
};
};
};
};
};
};
}

View file

@ -1,17 +1,17 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
environment = {
systemPackages = with pkgs; [
(lib.hiPrio uutils-coreutils-noprefix)
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal
uutils-findutils
uutils-diffutils
home-manager
];
};
environment = {
systemPackages = with pkgs; [
(lib.hiPrio uutils-coreutils-noprefix)
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal
uutils-findutils
uutils-diffutils
home-manager
];
};
}

View file

@ -1,15 +1,15 @@
{config, ...}: {
environment = {
variables = {
HOSTNAME = config.networking.hostName;
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
GDK_BACKEND = "wayland";
NIXPKGS_ALLOW_UNFREE = "1";
NIXPKGS_ALLOW_INSECURE = "1";
NIXOS_OZONE_WL = "1";
TERM = "xterm-256color";
};
environment = {
variables = {
HOSTNAME = config.networking.hostName;
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
GDK_BACKEND = "wayland";
NIXPKGS_ALLOW_UNFREE = "1";
NIXPKGS_ALLOW_INSECURE = "1";
NIXOS_OZONE_WL = "1";
TERM = "xterm-256color";
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
hardware = {
enableRedistributableFirmware = true;
cpu = {
intel = {
updateMicrocode = true;
};
};
hardware = {
enableRedistributableFirmware = true;
cpu = {
intel = {
updateMicrocode = true;
};
};
};
}

View file

@ -1,15 +1,15 @@
{pkgs, ...}: {
hardware = {
graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
intel-vaapi-driver
];
hardware = {
graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
intel-vaapi-driver
];
extraPackages32 = with pkgs; [
intel-vaapi-driver
];
};
extraPackages32 = with pkgs; [
intel-vaapi-driver
];
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
hardware = {
keyboard = {
qmk = {
enable = true;
};
};
hardware = {
keyboard = {
qmk = {
enable = true;
};
};
};
}

View file

@ -1,8 +1,8 @@
{...}: {
zramSwap = {
enable = true;
algorithm = "zstd";
priority = 100;
memoryPercent = 100;
};
zramSwap = {
enable = true;
algorithm = "zstd";
priority = 100;
memoryPercent = 100;
};
}

View file

@ -1,30 +1,30 @@
{
inputs,
self,
...
inputs,
self,
...
}: {
home-manager = {
users = {
hand7s = {
imports = [
"${self}/hand7s/"
inputs.spicetify-nix.homeManagerModules.default
inputs.hyprland.homeManagerModules.default
inputs.chaotic.homeManagerModules.default
inputs.sops-nix.homeManagerModules.sops
home-manager = {
users = {
hand7s = {
imports = [
"${self}/hand7s/"
inputs.spicetify-nix.homeManagerModules.default
inputs.hyprland.homeManagerModules.default
inputs.chaotic.homeManagerModules.default
inputs.sops-nix.homeManagerModules.sops
inputs.nix-index-database.homeModules.nix-index
];
};
};
backupFileExtension = "force";
extraSpecialArgs = {
inherit
inputs
self
;
};
inputs.nix-index-database.homeModules.nix-index
];
};
};
backupFileExtension = "force";
extraSpecialArgs = {
inherit
inputs
self
;
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"en_US.UTF-8/UTF-8"
"ru_RU.UTF-8/UTF-8"
];
};
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"en_US.UTF-8/UTF-8"
"ru_RU.UTF-8/UTF-8"
];
};
}

View file

@ -1,10 +1,10 @@
{lib, ...}: {
networking = {
useDHCP = lib.mkDefault true;
dhcpcd = {
enable = true;
persistent = false;
wait = "any";
};
networking = {
useDHCP = lib.mkDefault true;
dhcpcd = {
enable = true;
persistent = false;
wait = "any";
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
networking = {
firewall = {
allowPing = true;
enable = true;
checkReversePath = false;
};
networking = {
firewall = {
allowPing = true;
enable = true;
checkReversePath = false;
};
};
}

View file

@ -1,5 +1,5 @@
{...}: {
networking = {
hostId = "3c4734c8";
};
networking = {
hostId = "3c4734c8";
};
}

View file

@ -1,5 +1,5 @@
{...}: {
networking = {
hostName = "s0melapt0p-nix";
};
networking = {
hostName = "s0melapt0p-nix";
};
}

View file

@ -1,64 +1,64 @@
{...}: {
networking = {
hosts = {
# EVA00
"100.109.169.141" = [
"eva00-nix.netbird.cloud"
"eva00-nix"
];
networking = {
hosts = {
# EVA00
"100.109.169.141" = [
"eva00-nix.netbird.cloud"
"eva00-nix"
];
"90.156.226.152" = [
"eva00-nix.lan"
"eva00-nix"
];
"90.156.226.152" = [
"eva00-nix.lan"
"eva00-nix"
];
"200:deb2:ed25:a9e5:e30:4900:f88f:cb87" = [
"eva00-nix.ygg"
"eva00-nix"
];
"200:deb2:ed25:a9e5:e30:4900:f88f:cb87" = [
"eva00-nix.ygg"
"eva00-nix"
];
# EVA01
"100.109.107.176" = [
"eva01-nix.netbird.cloud"
"eva01-nix"
];
# EVA01
"100.109.107.176" = [
"eva01-nix.netbird.cloud"
"eva01-nix"
];
"37.114.50.235" = [
"eva01-nix.lan"
"eva01-nix"
];
"37.114.50.235" = [
"eva01-nix.lan"
"eva01-nix"
];
"200:6ef:a61f:2f01:71d4:196:ab70:2103" = [
"eva01-nix.ygg"
"eva01-nix"
];
"200:6ef:a61f:2f01:71d4:196:ab70:2103" = [
"eva01-nix.ygg"
"eva01-nix"
];
# EVA02
"100.109.178.135" = [
"eva02-nix.netbird.cloud"
"eva02-nix"
];
# EVA02
"100.109.178.135" = [
"eva02-nix.netbird.cloud"
"eva02-nix"
];
"51.195.222.85" = [
"eva02-nix.lan"
"eva02-nix"
];
"51.195.222.85" = [
"eva02-nix.lan"
"eva02-nix"
];
"201:52d6:c753:c1fd:f8b6:5897:cc6a:e1be" = [
"eva02-nix.ygg"
"eva02-nix"
];
"201:52d6:c753:c1fd:f8b6:5897:cc6a:e1be" = [
"eva02-nix.ygg"
"eva02-nix"
];
# nerv-nix
"100.109.7.114" = [
"nerv-nix.netbird.cloud"
"nerv-nix"
];
# nerv-nix
"100.109.7.114" = [
"nerv-nix.netbird.cloud"
"nerv-nix"
];
"200:7abc:53c9:be8a:9941:96d:221b:cc76" = [
"nerv-nix.ygg"
"nerv-nix"
];
};
"200:7abc:53c9:be8a:9941:96d:221b:cc76" = [
"nerv-nix.ygg"
"nerv-nix"
];
};
};
}

View file

@ -1,29 +1,29 @@
{...}: {
networking = {
nameservers = [
# cf dns
"1.1.1.1"
"1.0.0.1"
"2606:4700:4700::1111"
"2606:4700:4700::1001"
networking = {
nameservers = [
# cf dns
"1.1.1.1"
"1.0.0.1"
"2606:4700:4700::1111"
"2606:4700:4700::1001"
# google dns
"8.8.8.8"
"8.8.4.4"
"2001:4860:4860::8888"
"2001:4860:4860::8844"
# google dns
"8.8.8.8"
"8.8.4.4"
"2001:4860:4860::8888"
"2001:4860:4860::8844"
# q9 dns
"9.9.9.9"
"149.112.112.112"
"2620:fe::fe"
"2620:fe::9"
# q9 dns
"9.9.9.9"
"149.112.112.112"
"2620:fe::fe"
"2620:fe::9"
# open dns
"208.67.222.222"
"208.67.220.220"
"2620:119:35::35"
"2620:119:53::53"
];
};
# open dns
"208.67.222.222"
"208.67.220.220"
"2620:119:35::35"
"2620:119:53::53"
];
};
}

View file

@ -1,13 +1,13 @@
{...}: {
networking = {
networkmanager = {
enable = true;
dns = "default";
dhcp = "internal";
wifi = {
backend = "iwd";
macAddress = "preserve";
};
};
networking = {
networkmanager = {
enable = true;
dns = "default";
dhcp = "internal";
wifi = {
backend = "iwd";
macAddress = "preserve";
};
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
networking = {
timeServers = [
"0.nixos.pool.ntp.org"
"1.nixos.pool.ntp.org"
"2.nixos.pool.ntp.org"
"3.nixos.pool.ntp.org"
];
};
networking = {
timeServers = [
"0.nixos.pool.ntp.org"
"1.nixos.pool.ntp.org"
"2.nixos.pool.ntp.org"
"3.nixos.pool.ntp.org"
];
};
}

View file

@ -1,7 +1,7 @@
{...}: {
networking = {
wireguard = {
enable = true;
};
networking = {
wireguard = {
enable = true;
};
};
}

View file

@ -1,5 +1,5 @@
{pkgs, ...}: {
nix = {
package = pkgs.nixVersions.latest;
};
nix = {
package = pkgs.nixVersions.latest;
};
}

View file

@ -1,10 +1,10 @@
{...}: {
nix = {
settings = {
sandbox = true;
allowed-users = [
"@wheel"
];
};
nix = {
settings = {
sandbox = true;
allowed-users = [
"@wheel"
];
};
};
}

View file

@ -1,7 +1,7 @@
{...}: {
nix = {
settings = {
auto-optimise-store = true;
};
nix = {
settings = {
auto-optimise-store = true;
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
};
}

View file

@ -1,19 +1,19 @@
{...}: {
nix = {
settings = {
substituters = [
# cache.nixos.org
"https://cache.nixos.org"
# cache.garnix.org
"https://cache.garnix.io"
# cachix
"https://nix-community.cachix.org/"
"https://chaotic-nyx.cachix.org/"
"https://ags.cachix.org"
"https://hyprland.cachix.org"
"https://chaotic-nyx.cachix.org/"
"https://colmena.cachix.org"
];
};
nix = {
settings = {
substituters = [
# cache.nixos.org
"https://cache.nixos.org"
# cache.garnix.org
"https://cache.garnix.io"
# cachix
"https://nix-community.cachix.org/"
"https://chaotic-nyx.cachix.org/"
"https://ags.cachix.org"
"https://hyprland.cachix.org"
"https://chaotic-nyx.cachix.org/"
"https://colmena.cachix.org"
];
};
};
}

View file

@ -1,19 +1,19 @@
{...}: {
nix = {
settings = {
trusted-public-keys = [
# cache.nixos.org
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
# cache.garnix.io
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
# cachix.org
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"ags.cachix.org-1:naAvMrz0CuYqeyGNyLgE010iUiuf/qx6kYrUv3NwAJ8="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
];
};
nix = {
settings = {
trusted-public-keys = [
# cache.nixos.org
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
# cache.garnix.io
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
# cachix.org
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"ags.cachix.org-1:naAvMrz0CuYqeyGNyLgE010iUiuf/qx6kYrUv3NwAJ8="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
];
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
nix = {
settings = {
trusted-users = [
"@wheel"
];
};
nix = {
settings = {
trusted-users = [
"@wheel"
];
};
};
}

View file

@ -1,8 +1,8 @@
{...}: {
nixpkgs = {
config = {
allowUnfree = true;
allowBroken = true;
};
nixpkgs = {
config = {
allowUnfree = true;
allowBroken = true;
};
};
}

View file

@ -1,6 +1,6 @@
{...}: {
nixpkgs = {
overlays = [
];
};
nixpkgs = {
overlays = [
];
};
}

View file

@ -1,6 +1,6 @@
{...}: {
nixpkgs = {
system = "x86_64-linux";
hostPlatform = "x86_64-linux";
};
nixpkgs = {
system = "x86_64-linux";
hostPlatform = "x86_64-linux";
};
}

View file

@ -1,7 +1,7 @@
{...}: {
programs = {
gamemode = {
enable = true;
};
programs = {
gamemode = {
enable = true;
};
};
}

View file

@ -1,12 +1,12 @@
{...}: {
programs = {
nh = {
enable = true;
clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep 2 --keep-since 2d";
};
};
programs = {
nh = {
enable = true;
clean = {
enable = true;
dates = "weekly";
extraArgs = "--keep 2 --keep-since 2d";
};
};
};
}

View file

@ -1,7 +1,7 @@
{...}: {
programs = {
ssh = {
startAgent = true;
};
programs = {
ssh = {
startAgent = true;
};
};
}

View file

@ -1,22 +1,22 @@
{pkgs, ...}: {
programs = {
steam = {
enable = true;
extraCompatPackages = [
pkgs.proton-ge-bin
];
programs = {
steam = {
enable = true;
extraCompatPackages = [
pkgs.proton-ge-bin
];
remotePlay = {
openFirewall = true;
};
remotePlay = {
openFirewall = true;
};
localNetworkGameTransfers = {
openFirewall = true;
};
localNetworkGameTransfers = {
openFirewall = true;
};
protontricks = {
enable = true;
};
};
protontricks = {
enable = true;
};
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
programs = {
yubikey-touch-detector = {
enable = true;
libnotify = true;
unixSocket = true;
};
programs = {
yubikey-touch-detector = {
enable = true;
libnotify = true;
unixSocket = true;
};
};
}

View file

@ -1,14 +1,14 @@
{...}: {
security = {
pam = {
services = {
swaylock = {
text = ''
auth include login
'';
fprintAuth = false;
};
};
security = {
pam = {
services = {
swaylock = {
text = ''
auth include login
'';
fprintAuth = false;
};
};
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
security = {
polkit = {
enable = true;
adminIdentities = [
"unix-group:wheel"
];
};
security = {
polkit = {
enable = true;
adminIdentities = [
"unix-group:wheel"
];
};
};
}

View file

@ -1,7 +1,7 @@
{...}: {
security = {
rtkit = {
enable = true;
};
security = {
rtkit = {
enable = true;
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
security = {
sudo-rs = {
enable = true;
wheelNeedsPassword = true;
execWheelOnly = true;
};
security = {
sudo-rs = {
enable = true;
wheelNeedsPassword = true;
execWheelOnly = true;
};
};
}

View file

@ -1,7 +1,7 @@
{lib, ...}: {
security = {
sudo = {
enable = lib.mkDefault false;
};
security = {
sudo = {
enable = lib.mkDefault false;
};
};
}

View file

@ -1,11 +1,11 @@
{...}: {
services = {
fprintd = {
enable = true;
tod = {
enable = false;
# driver = pkgs.
};
};
services = {
fprintd = {
enable = true;
tod = {
enable = false;
# driver = pkgs.
};
};
};
}

View file

@ -1,18 +1,18 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
services = {
greetd = {
enable = true;
restart = false;
settings = {
default_session = {
command = "${lib.getExe pkgs.tuigreet} -r -t -c ${lib.getExe pkgs.sway}";
user = "greeter";
};
};
services = {
greetd = {
enable = true;
restart = false;
settings = {
default_session = {
command = "${lib.getExe pkgs.tuigreet} -r -t -c ${lib.getExe pkgs.sway}";
user = "greeter";
};
};
};
};
}

View file

@ -1,23 +1,23 @@
{...}: {
services = {
libinput = {
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "-1.0";
buttonMapping = "1 2 3 4 5 6 7 8 9";
horizontalScrolling = true;
leftHanded = false;
naturalScrolling = true;
};
services = {
libinput = {
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "-1.0";
buttonMapping = "1 2 3 4 5 6 7 8 9";
horizontalScrolling = true;
leftHanded = false;
naturalScrolling = true;
};
touchpad = {
accelProfile = "adaptive";
accelSpeed = "-1.0";
buttonMapping = "1 2 3 4 5 6 7 8 9";
clickMethod = "clickfinger";
leftHanded = false;
};
};
touchpad = {
accelProfile = "adaptive";
accelSpeed = "-1.0";
buttonMapping = "1 2 3 4 5 6 7 8 9";
clickMethod = "clickfinger";
leftHanded = false;
};
};
};
}

View file

@ -1,7 +1,7 @@
{...}: {
services = {
netbird = {
enable = true;
};
services = {
netbird = {
enable = true;
};
};
}

View file

@ -1,22 +1,22 @@
{config, ...}: {
services = {
openssh = {
enable = true;
allowSFTP = true;
openFirewall = true;
ports = [
6969
];
services = {
openssh = {
enable = true;
allowSFTP = true;
openFirewall = true;
ports = [
6969
];
settings = {
PrintMotd = false;
PermitRootLogin = "no";
PasswordAuthentication = false;
};
settings = {
PrintMotd = false;
PermitRootLogin = "no";
PasswordAuthentication = false;
};
authorizedKeysFiles = [
config.sops.secrets.sshKey.path
];
};
authorizedKeysFiles = [
config.sops.secrets.sshKey.path
];
};
};
}

View file

@ -1,65 +1,65 @@
{...}: {
services = {
services = {
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
audio = {
enable = true;
};
pulse = {
enable = true;
};
jack = {
enable = true;
};
wireplumber = {
enable = true;
};
extraConfig = {
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
"92-low-latency" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.allowed-rates" = [
44100
48000
88200
96000
];
"default.clock.min-quantum" = 512;
"default.clock.quantum" = 4096;
"default.clock.max-quantum" = 8192;
};
};
audio = {
enable = true;
"93-no-resampling" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.allowed-rates" = [
44100
48000
96000
192000
];
};
};
pulse = {
enable = true;
};
jack = {
enable = true;
};
wireplumber = {
enable = true;
};
extraConfig = {
pipewire = {
"92-low-latency" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.allowed-rates" = [
44100
48000
88200
96000
];
"default.clock.min-quantum" = 512;
"default.clock.quantum" = 4096;
"default.clock.max-quantum" = 8192;
};
};
"93-no-resampling" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.allowed-rates" = [
44100
48000
96000
192000
];
};
};
"94-no-upmixing" = {
"stream.properties" = {
"channelmix.upmix" = false;
};
};
};
"94-no-upmixing" = {
"stream.properties" = {
"channelmix.upmix" = false;
};
};
};
};
};
};
}

View file

@ -1,9 +1,9 @@
{pkgs, ...}: {
services = {
udev = {
packages = with pkgs; [
qmk-udev-rules
];
};
services = {
udev = {
packages = with pkgs; [
qmk-udev-rules
];
};
};
}

View file

@ -1,8 +1,8 @@
{...}: {
services = {
thinkfan = {
enable = true;
smartSupport = true;
};
services = {
thinkfan = {
enable = true;
smartSupport = true;
};
};
}

View file

@ -1,8 +1,8 @@
{pkgs, ...}: {
services = {
usbmuxd = {
enable = true;
package = pkgs.usbmuxd2;
};
services = {
usbmuxd = {
enable = true;
package = pkgs.usbmuxd2;
};
};
}

View file

@ -1,26 +1,26 @@
{
lib,
pkgs,
...
lib,
pkgs,
...
}: {
services = {
xserver = {
display = lib.mkForce 0;
enable = true;
services = {
xserver = {
display = lib.mkForce 0;
enable = true;
excludePackages = with pkgs; [
xterm
];
excludePackages = with pkgs; [
xterm
];
videoDrivers = [
"i915"
];
videoDrivers = [
"i915"
];
xkb = {
layout = "us, ru";
variant = "";
options = "grp:caps_toggle";
};
};
xkb = {
layout = "us, ru";
variant = "";
options = "grp:caps_toggle";
};
};
};
}

View file

@ -1,46 +1,46 @@
{config, ...}: {
services = {
yggdrasil = {
enable = true;
persistentKeys = false;
settings = {
PrivateKey = config.sops.secrets.yggKeyLT.path;
services = {
yggdrasil = {
enable = true;
persistentKeys = false;
settings = {
PrivateKey = config.sops.secrets.yggKeyLT.path;
Peers = [
# only 1W+ peers (some exeptions are possible)
Peers = [
# only 1W+ peers (some exeptions are possible)
# Russia
"tls://yggno.de:18227"
"tcp://yggno.de:18226"
# Russia
"tls://yggno.de:18227"
"tcp://yggno.de:18226"
"tcp://kzn1.neonxp.ru:7991"
"tls://kzn1.neonxp.ru:7992"
"ws://kzn1.neonxp.ru:7993"
"quic://kzn1.neonxp.ru:7994"
];
"tcp://kzn1.neonxp.ru:7991"
"tls://kzn1.neonxp.ru:7992"
"ws://kzn1.neonxp.ru:7993"
"quic://kzn1.neonxp.ru:7994"
];
Listen = [
#
];
Listen = [
#
];
MulticastInterfaces = [
{
Regex = ".*";
Beacon = true;
Listen = false;
Password = "";
}
];
MulticastInterfaces = [
{
Regex = ".*";
Beacon = true;
Listen = false;
Password = "";
}
];
AllowedPublicKeys = [
#
];
AllowedPublicKeys = [
#
];
IfName = "auto";
IfName = "auto";
IfMTU = 65535;
NodeInfoPrivacy = false;
};
};
IfMTU = 65535;
NodeInfoPrivacy = false;
};
};
};
}

View file

@ -1,8 +1,8 @@
{pkgs, ...}: {
services = {
yubikey-agent = {
package = pkgs.yubikey-agent;
enable = true;
};
services = {
yubikey-agent = {
package = pkgs.yubikey-agent;
enable = true;
};
};
}

View file

@ -1,145 +1,145 @@
{...}: {
services = {
zapret = {
enable = true;
configureFirewall = true;
qnum = 350;
params = [
"--wssize 1:6"
services = {
zapret = {
enable = true;
configureFirewall = true;
qnum = 350;
params = [
"--wssize 1:6"
"--filter-tcp=80"
"--dpi-desync=multisplit"
"--dpi-desync-split-pos=10"
"--dpi-desync-repeats=6"
"--new"
"--filter-tcp=80"
"--dpi-desync=multisplit"
"--dpi-desync-split-pos=10"
"--dpi-desync-repeats=6"
"--new"
"--filter-tcp=443"
"--dpi-desync=multidisorder"
"--dpi-desync-split-pos=1,midsld"
"--new"
"--filter-tcp=443"
"--dpi-desync=multidisorder"
"--dpi-desync-split-pos=1,midsld"
"--new"
"--filter-tcp=443"
"--dpi-desync=syndata"
"--dpi-desync-fake-syndata=0x00000000"
"--dpi-desync-ttl=10"
"--new"
"--filter-tcp=443"
"--dpi-desync=syndata"
"--dpi-desync-fake-syndata=0x00000000"
"--dpi-desync-ttl=10"
"--new"
"--filter-udp=443"
"--dpi-desync=fake"
"--dpi-desync-repeats=6"
"--dpi-desync-fake-quic=0x00000000"
"--new"
"--filter-udp=443"
"--dpi-desync=fake"
"--dpi-desync-repeats=6"
"--dpi-desync-fake-quic=0x00000000"
"--new"
"--filter-udp=443"
"--dpi-desync=fake,udplen"
"--dpi-desync-udplen-increment=5"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-cutoff=n3"
"--dpi-desync-repeats=2"
"--new"
"--filter-udp=443"
"--dpi-desync=fake,udplen"
"--dpi-desync-udplen-increment=5"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-cutoff=n3"
"--dpi-desync-repeats=2"
"--new"
"--filter-tcp=443"
"--dpi-desync=split"
"--dpi-desync-fooling=md5sig,badseq"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-pos=1"
"--dpi-desync-repeats=10"
"--new"
"--filter-tcp=443"
"--dpi-desync=split"
"--dpi-desync-fooling=md5sig,badseq"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-pos=1"
"--dpi-desync-repeats=10"
"--new"
"--filter-tcp=443"
"--dpi-desync=fake,split2"
"--dpi-desync-fooling=md5sig"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-seqovl=2"
"--dpi-desync-split-pos=2"
"--filter-tcp=443"
"--dpi-desync=fake,split2"
"--dpi-desync-fooling=md5sig"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-seqovl=2"
"--dpi-desync-split-pos=2"
"--dpi-desync-autottl"
"--new"
"--filter-tcp=443"
"--dpi-desync=fake,split2"
"--dpi-desync-fooling=md5sig"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-seqovl=2"
"--dpi-desync-split-pos=2"
"--dpi-desync-autottl"
"--new"
"--dpi-desync-autottl"
"--new"
"--filter-tcp=443"
"--dpi-desync=fake,split2"
"--dpi-desync-fooling=md5sig"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-seqovl=2"
"--dpi-desync-split-pos=2"
"--dpi-desync-autottl"
"--new"
"--filter-tcp=80"
"--dpi-desync=fake,split2"
"--dpi-desync-fooling=md5sig"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-autottl"
"--new"
"--filter-tcp=80"
"--dpi-desync=fake,split2"
"--dpi-desync-fooling=md5sig"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-autottl"
"--new"
"--filter-tcp=80"
"--dpi-desync-ttl=1"
"--dpi-desync-autottl=2"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-pos=1"
"--dpi-desync=fake,split2"
"--dpi-desync-repeats=6"
"--dpi-desync-fooling=md5sig"
"--new"
];
"--filter-tcp=80"
"--dpi-desync-ttl=1"
"--dpi-desync-autottl=2"
"--dpi-desync-fake-tls=0x00000000"
"--dpi-desync-split-pos=1"
"--dpi-desync=fake,split2"
"--dpi-desync-repeats=6"
"--dpi-desync-fooling=md5sig"
"--new"
];
whitelist = [
"googlevideo.com"
"youtu.be"
"youtube.com"
"youtubei.googleapis.com"
"googlevideo.com"
"youtu.be"
"youtube.com"
"youtubei.googleapis.com"
"youtubeembeddedplayer.googleapis.com"
"ytimg.l.google.com"
"ytimg.com"
"jnn-pa.googleapis.com"
"youtube-nocookie.com"
"youtube-ui.l.google.com"
"yt-video-upload.l.google.com"
"wide-youtube.l.google.com"
"youtubekids.com"
"ggpht.com"
"music.youtube.com"
"test.googlevideo.com"
"discord.com"
"gateway.discord.gg"
"cdn.discordapp.com"
"discordapp.net"
"discordapp.com"
"discord.gg"
"media.discordapp.net"
"images-ext-1.discordapp.net"
"discord.app"
"discord.media"
"discordcdn.com"
"discord.dev"
"discord.new"
"discord.gift"
"discordstatus.com"
"dis.gd"
"discord.co"
"discord-attachments-uploads-prd.storage.googleapis.com"
"7tv.app"
"7tv.io"
"10tv.app"
"x.com"
"t.co"
"ads-twitter.com"
"twimg.com"
"twitter.com"
"pscp.tv"
"twtrdns.net"
"twttr.com"
"periscope.tv"
"tweetdeck.com"
"twitpic.com"
"twitter.co"
"twitterinc.com"
"twitteroauth.com"
"twitterstat.us"
];
};
whitelist = [
"googlevideo.com"
"youtu.be"
"youtube.com"
"youtubei.googleapis.com"
"googlevideo.com"
"youtu.be"
"youtube.com"
"youtubei.googleapis.com"
"youtubeembeddedplayer.googleapis.com"
"ytimg.l.google.com"
"ytimg.com"
"jnn-pa.googleapis.com"
"youtube-nocookie.com"
"youtube-ui.l.google.com"
"yt-video-upload.l.google.com"
"wide-youtube.l.google.com"
"youtubekids.com"
"ggpht.com"
"music.youtube.com"
"test.googlevideo.com"
"discord.com"
"gateway.discord.gg"
"cdn.discordapp.com"
"discordapp.net"
"discordapp.com"
"discord.gg"
"media.discordapp.net"
"images-ext-1.discordapp.net"
"discord.app"
"discord.media"
"discordcdn.com"
"discord.dev"
"discord.new"
"discord.gift"
"discordstatus.com"
"dis.gd"
"discord.co"
"discord-attachments-uploads-prd.storage.googleapis.com"
"7tv.app"
"7tv.io"
"10tv.app"
"x.com"
"t.co"
"ads-twitter.com"
"twimg.com"
"twitter.com"
"pscp.tv"
"twtrdns.net"
"twttr.com"
"periscope.tv"
"tweetdeck.com"
"twitpic.com"
"twitter.co"
"twitterinc.com"
"twitteroauth.com"
"twitterstat.us"
];
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
services = {
zerotierone = {
enable = true;
joinNetworks = [
# nope
];
};
services = {
zerotierone = {
enable = true;
joinNetworks = [
# nope
];
};
};
}

View file

@ -1,5 +1,5 @@
{config, ...}: {
system = {
name = config.networking.hostName;
};
system = {
name = config.networking.hostName;
};
}

View file

@ -1,5 +1,5 @@
{config, ...}: {
system = {
stateVersion = config.system.nixos.release;
};
system = {
stateVersion = config.system.nixos.release;
};
}

View file

@ -1,10 +1,10 @@
{...}: {
systemd = {
oomd = {
enable = true;
enableUserSlices = true;
enableSystemSlice = true;
enableRootSlice = true;
};
systemd = {
oomd = {
enable = true;
enableUserSlices = true;
enableSystemSlice = true;
enableRootSlice = true;
};
};
}

View file

@ -1,6 +1,6 @@
{...}: {
time = {
timeZone = "Europe/Moscow";
hardwareClockInLocalTime = true;
};
time = {
timeZone = "Europe/Moscow";
hardwareClockInLocalTime = true;
};
}

View file

@ -1,5 +1,5 @@
{...}: {
users = {
mutableUsers = false;
};
users = {
mutableUsers = false;
};
}

View file

@ -1,17 +1,17 @@
{...}: {
users = {
users = {
users = {
hand7s = {
description = "me";
isSystemUser = false;
isNormalUser = true;
initialHashedPassword = "$6$ckgRhNWmJgSwOUpJ$kfeAdokd5fa76HWbTmWN2YXx4M/PQVOTJku1ODbqbBhEkUFiLftdaJFRnNXfIM3Jtz0ShoRMSVCB7mDkxDrdi/";
extraGroups = [
"wheel"
"networkmanager"
"docker"
];
};
};
hand7s = {
description = "me";
isSystemUser = false;
isNormalUser = true;
initialHashedPassword = "$6$ckgRhNWmJgSwOUpJ$kfeAdokd5fa76HWbTmWN2YXx4M/PQVOTJku1ODbqbBhEkUFiLftdaJFRnNXfIM3Jtz0ShoRMSVCB7mDkxDrdi/";
extraGroups = [
"wheel"
"networkmanager"
"docker"
];
};
};
};
}

View file

@ -1,9 +1,9 @@
{...}: {
users = {
users = {
users = {
root = {
initialHashedPassword = "$6$n4OLMvYHHStHvtmr$6OL0NV1dEM2b6oJRewkhuoFxM80lI67tfbJ6QkCg8WAA1gbeKrcwDAuJjm8zvpY4zcDR3Z5Zbo8uebfOi6XXF0";
};
};
root = {
initialHashedPassword = "$6$n4OLMvYHHStHvtmr$6OL0NV1dEM2b6oJRewkhuoFxM80lI67tfbJ6QkCg8WAA1gbeKrcwDAuJjm8zvpY4zcDR3Z5Zbo8uebfOi6XXF0";
};
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
virtualisation = {
docker = {
enable = true;
rootless = {
enable = true;
};
};
virtualisation = {
docker = {
enable = true;
rootless = {
enable = true;
};
};
};
}

View file

@ -1,7 +1,7 @@
{...}: {
xdg = {
icons = {
enable = true;
};
xdg = {
icons = {
enable = true;
};
};
}

View file

@ -1,11 +1,11 @@
{...}: {
xdg = {
mime = {
enable = true;
defaultApplications = {
"x-scheme-handler/http" = "google-chrome.desktop";
"x-scheme-handler/https" = "google-chrome.desktop";
};
};
xdg = {
mime = {
enable = true;
defaultApplications = {
"x-scheme-handler/http" = "google-chrome.desktop";
"x-scheme-handler/https" = "google-chrome.desktop";
};
};
};
}

View file

@ -1,28 +1,28 @@
{pkgs, ...}: {
xdg = {
portal = {
enable = true;
xdg = {
portal = {
enable = true;
config = {
common = {
default = [
"gtk"
"wlr"
];
};
sway = {
preferred = [
"gtk"
"wlr"
];
};
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
config = {
common = {
default = [
"gtk"
"wlr"
];
};
sway = {
preferred = [
"gtk"
"wlr"
];
};
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
};
};
}