big staging update
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
0bf4c9cfca
commit
2939b08891
324 changed files with 6897 additions and 6797 deletions
|
|
@ -1,46 +1,46 @@
|
|||
{lib, ...}: {
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"btrfs"
|
||||
"amneziawg"
|
||||
"cryptd"
|
||||
];
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"btrfs"
|
||||
"amneziawg"
|
||||
"cryptd"
|
||||
];
|
||||
|
||||
supportedFilesystems = {
|
||||
vfat = true;
|
||||
btrfs = true;
|
||||
zfs = lib.mkForce true;
|
||||
};
|
||||
supportedFilesystems = {
|
||||
vfat = true;
|
||||
btrfs = true;
|
||||
zfs = lib.mkForce true;
|
||||
};
|
||||
|
||||
kernelModules = [
|
||||
"amdgpu"
|
||||
"zenpower"
|
||||
"amneziawg"
|
||||
];
|
||||
kernelModules = [
|
||||
"amdgpu"
|
||||
"zenpower"
|
||||
"amneziawg"
|
||||
];
|
||||
|
||||
luks = {
|
||||
devices = {
|
||||
cryptroot = {
|
||||
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013-part2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
network = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
verbose = false;
|
||||
luks = {
|
||||
devices = {
|
||||
cryptroot = {
|
||||
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013-part2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
network = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
verbose = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,91 +1,91 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
config,
|
||||
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_cachyos-gcc;
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
zenpower
|
||||
v4l2loopback
|
||||
amneziawg
|
||||
];
|
||||
|
||||
kernelModules = [
|
||||
"amdgpu"
|
||||
"zenpower"
|
||||
"v4l2loopback"
|
||||
"amneziawg"
|
||||
];
|
||||
|
||||
kernelParams = [
|
||||
"video=DP-1:2560x1440@165"
|
||||
"amd_pstate=guided"
|
||||
"udev.log_priority=3"
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"loglevel=3"
|
||||
"rd.systemd.show_status=false"
|
||||
"rd.udev.log_level=3"
|
||||
|
||||
"page_alloc.shuffle=1"
|
||||
"page_poison=1"
|
||||
"slab_nomerge"
|
||||
|
||||
"kernel.watchdog=0"
|
||||
"oops=panic"
|
||||
];
|
||||
|
||||
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 true;
|
||||
};
|
||||
|
||||
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_cachyos-gcc;
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
zenpower
|
||||
v4l2loopback
|
||||
amneziawg
|
||||
];
|
||||
|
||||
kernelModules = [
|
||||
"amdgpu"
|
||||
"zenpower"
|
||||
"v4l2loopback"
|
||||
"amneziawg"
|
||||
];
|
||||
|
||||
kernelParams = [
|
||||
"video=DP-1:2560x1440@165"
|
||||
"amd_pstate=guided"
|
||||
"udev.log_priority=3"
|
||||
"quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"loglevel=3"
|
||||
"rd.systemd.show_status=false"
|
||||
"rd.udev.log_level=3"
|
||||
|
||||
"page_alloc.shuffle=1"
|
||||
"page_poison=1"
|
||||
"slab_nomerge"
|
||||
|
||||
"kernel.watchdog=0"
|
||||
"oops=panic"
|
||||
];
|
||||
|
||||
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 true;
|
||||
};
|
||||
|
||||
consoleLogLevel = 0;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
{...}: {
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = false;
|
||||
sortKey = "nixos";
|
||||
memtest86 = {
|
||||
enable = true;
|
||||
sortKey = "o_memtest86";
|
||||
};
|
||||
|
||||
netbootxyz = {
|
||||
enable = false;
|
||||
sortKey = "o_netbootxyz";
|
||||
};
|
||||
};
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = false;
|
||||
sortKey = "nixos";
|
||||
memtest86 = {
|
||||
enable = true;
|
||||
sortKey = "o_memtest86";
|
||||
};
|
||||
|
||||
netbootxyz = {
|
||||
enable = false;
|
||||
sortKey = "o_netbootxyz";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{...}: {
|
||||
boot = {
|
||||
tmp = {
|
||||
useTmpfs = true;
|
||||
cleanOnBoot = true;
|
||||
};
|
||||
boot = {
|
||||
tmp = {
|
||||
useTmpfs = true;
|
||||
cleanOnBoot = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
boot = {
|
||||
zfs = {
|
||||
package = pkgs.zfs_cachyos;
|
||||
allowHibernation = false;
|
||||
removeLinuxDRM = false;
|
||||
};
|
||||
boot = {
|
||||
zfs = {
|
||||
package = pkgs.zfs_cachyos;
|
||||
allowHibernation = false;
|
||||
removeLinuxDRM = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
console = {
|
||||
useXkbConfig = true;
|
||||
};
|
||||
console = {
|
||||
useXkbConfig = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,111 +1,111 @@
|
|||
{self, ...}: {
|
||||
imports = [
|
||||
"${self}/s0mePC-nix/boot/initrd.nix"
|
||||
"${self}/s0mePC-nix/boot/kernel.nix"
|
||||
"${self}/s0mePC-nix/boot/lanzaboote.nix"
|
||||
"${self}/s0mePC-nix/boot/plymouth.nix"
|
||||
"${self}/s0mePC-nix/boot/tmp.nix"
|
||||
"${self}/s0mePC-nix/boot/loader/systemd-boot.nix"
|
||||
"${self}/s0mePC-nix/boot/zfs.nix"
|
||||
imports = [
|
||||
"${self}/s0mePC-nix/boot/initrd.nix"
|
||||
"${self}/s0mePC-nix/boot/kernel.nix"
|
||||
"${self}/s0mePC-nix/boot/lanzaboote.nix"
|
||||
"${self}/s0mePC-nix/boot/plymouth.nix"
|
||||
"${self}/s0mePC-nix/boot/tmp.nix"
|
||||
"${self}/s0mePC-nix/boot/loader/systemd-boot.nix"
|
||||
"${self}/s0mePC-nix/boot/zfs.nix"
|
||||
|
||||
"${self}/s0mePC-nix/disko/disk.nix"
|
||||
"${self}/s0mePC-nix/disko/lvm_vg.nix"
|
||||
"${self}/s0mePC-nix/disko/disk.nix"
|
||||
"${self}/s0mePC-nix/disko/lvm_vg.nix"
|
||||
|
||||
"${self}/s0mePC-nix/console/console.nix"
|
||||
"${self}/s0mePC-nix/console/console.nix"
|
||||
|
||||
"${self}/s0mePC-nix/environment/systemPackages.nix"
|
||||
"${self}/s0mePC-nix/environment/variables.nix"
|
||||
"${self}/s0mePC-nix/environment/systemPackages.nix"
|
||||
"${self}/s0mePC-nix/environment/variables.nix"
|
||||
|
||||
"${self}/s0mePC-nix/hardware/amdgpu.nix"
|
||||
"${self}/s0mePC-nix/hardware/cpu.nix"
|
||||
"${self}/s0mePC-nix/hardware/graphics.nix"
|
||||
"${self}/s0mePC-nix/hardware/openrazer.nix"
|
||||
"${self}/s0mePC-nix/hardware/qmk.nix"
|
||||
"${self}/s0mePC-nix/hardware/zram.nix"
|
||||
"${self}/s0mePC-nix/hardware/amdgpu.nix"
|
||||
"${self}/s0mePC-nix/hardware/cpu.nix"
|
||||
"${self}/s0mePC-nix/hardware/graphics.nix"
|
||||
"${self}/s0mePC-nix/hardware/openrazer.nix"
|
||||
"${self}/s0mePC-nix/hardware/qmk.nix"
|
||||
"${self}/s0mePC-nix/hardware/zram.nix"
|
||||
|
||||
"${self}/s0mePC-nix/home-manager/users.nix"
|
||||
"${self}/s0mePC-nix/home-manager/users.nix"
|
||||
|
||||
"${self}/s0mePC-nix/i18n/locales.nix"
|
||||
"${self}/s0mePC-nix/i18n/locales.nix"
|
||||
|
||||
"${self}/s0mePC-nix/networking/dhcp.nix"
|
||||
"${self}/s0mePC-nix/networking/firewall.nix"
|
||||
"${self}/s0mePC-nix/networking/hostname.nix"
|
||||
"${self}/s0mePC-nix/networking/networkmanager.nix"
|
||||
"${self}/s0mePC-nix/networking/wireguard.nix"
|
||||
"${self}/s0mePC-nix/networking/nameservers.nix"
|
||||
"${self}/s0mePC-nix/networking/hosts.nix"
|
||||
"${self}/s0mePC-nix/networking/hostId.nix"
|
||||
"${self}/s0mePC-nix/networking/dhcp.nix"
|
||||
"${self}/s0mePC-nix/networking/firewall.nix"
|
||||
"${self}/s0mePC-nix/networking/hostname.nix"
|
||||
"${self}/s0mePC-nix/networking/networkmanager.nix"
|
||||
"${self}/s0mePC-nix/networking/wireguard.nix"
|
||||
"${self}/s0mePC-nix/networking/nameservers.nix"
|
||||
"${self}/s0mePC-nix/networking/hosts.nix"
|
||||
"${self}/s0mePC-nix/networking/hostId.nix"
|
||||
|
||||
"${self}/s0mePC-nix/nix/package.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/allowed-users.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/experimental-features.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/substituters.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/trusted-public-keys.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/trusted-substituters.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/trusted-users.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/auto-optimise-store.nix"
|
||||
"${self}/s0mePC-nix/nix/package.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/allowed-users.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/experimental-features.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/substituters.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/trusted-public-keys.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/trusted-substituters.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/trusted-users.nix"
|
||||
"${self}/s0mePC-nix/nix/settings/auto-optimise-store.nix"
|
||||
|
||||
"${self}/s0mePC-nix/nixpkgs/config.nix"
|
||||
"${self}/s0mePC-nix/nixpkgs/system.nix"
|
||||
"${self}/s0mePC-nix/nixpkgs/config.nix"
|
||||
"${self}/s0mePC-nix/nixpkgs/system.nix"
|
||||
|
||||
"${self}/s0mePC-nix/programs/gamescope.nix"
|
||||
"${self}/s0mePC-nix/programs/gamemode.nix"
|
||||
"${self}/s0mePC-nix/programs/nh.nix"
|
||||
"${self}/s0mePC-nix/programs/steam.nix"
|
||||
"${self}/s0mePC-nix/programs/ssh.nix"
|
||||
"${self}/s0mePC-nix/programs/yubikey-touch-detector.nix"
|
||||
"${self}/s0mePC-nix/programs/nekoray.nix"
|
||||
"${self}/s0mePC-nix/programs/gamescope.nix"
|
||||
"${self}/s0mePC-nix/programs/gamemode.nix"
|
||||
"${self}/s0mePC-nix/programs/nh.nix"
|
||||
"${self}/s0mePC-nix/programs/steam.nix"
|
||||
"${self}/s0mePC-nix/programs/ssh.nix"
|
||||
"${self}/s0mePC-nix/programs/yubikey-touch-detector.nix"
|
||||
"${self}/s0mePC-nix/programs/nekoray.nix"
|
||||
|
||||
"${self}/s0mePC-nix/security/polkit.nix"
|
||||
"${self}/s0mePC-nix/security/rtkit.nix"
|
||||
"${self}/s0mePC-nix/security/sudo.nix"
|
||||
"${self}/s0mePC-nix/security/sudo-rs.nix"
|
||||
"${self}/s0mePC-nix/security/pam/yubico.nix"
|
||||
"${self}/s0mePC-nix/security/polkit.nix"
|
||||
"${self}/s0mePC-nix/security/rtkit.nix"
|
||||
"${self}/s0mePC-nix/security/sudo.nix"
|
||||
"${self}/s0mePC-nix/security/sudo-rs.nix"
|
||||
"${self}/s0mePC-nix/security/pam/yubico.nix"
|
||||
|
||||
"${self}/s0mePC-nix/services/greetd.nix"
|
||||
"${self}/s0mePC-nix/services/libinput.nix"
|
||||
"${self}/s0mePC-nix/services/openssh.nix"
|
||||
"${self}/s0mePC-nix/services/pipewire.nix"
|
||||
"${self}/s0mePC-nix/services/netbird.nix"
|
||||
"${self}/s0mePC-nix/services/qmk.nix"
|
||||
"${self}/s0mePC-nix/services/scx.nix"
|
||||
"${self}/s0mePC-nix/services/xserver.nix"
|
||||
"${self}/s0mePC-nix/services/zapret.nix"
|
||||
"${self}/s0mePC-nix/services/zerotier.nix"
|
||||
"${self}/s0mePC-nix/services/yggdrasil.nix"
|
||||
"${self}/s0mePC-nix/services/sunshine.nix"
|
||||
"${self}/s0mePC-nix/services/usbmuxd.nix"
|
||||
"${self}/s0mePC-nix/services/irqbalance.nix"
|
||||
"${self}/s0mePC-nix/services/yubikey-agent.nix"
|
||||
"${self}/s0mePC-nix/services/resolved.nix"
|
||||
"${self}/s0mePC-nix/services/greetd.nix"
|
||||
"${self}/s0mePC-nix/services/libinput.nix"
|
||||
"${self}/s0mePC-nix/services/openssh.nix"
|
||||
"${self}/s0mePC-nix/services/pipewire.nix"
|
||||
"${self}/s0mePC-nix/services/netbird.nix"
|
||||
"${self}/s0mePC-nix/services/qmk.nix"
|
||||
"${self}/s0mePC-nix/services/scx.nix"
|
||||
"${self}/s0mePC-nix/services/xserver.nix"
|
||||
"${self}/s0mePC-nix/services/zapret.nix"
|
||||
"${self}/s0mePC-nix/services/zerotier.nix"
|
||||
"${self}/s0mePC-nix/services/yggdrasil.nix"
|
||||
"${self}/s0mePC-nix/services/sunshine.nix"
|
||||
"${self}/s0mePC-nix/services/usbmuxd.nix"
|
||||
"${self}/s0mePC-nix/services/irqbalance.nix"
|
||||
"${self}/s0mePC-nix/services/yubikey-agent.nix"
|
||||
"${self}/s0mePC-nix/services/resolved.nix"
|
||||
|
||||
"${self}/s0mePC-nix/sops/defaults.nix"
|
||||
"${self}/s0mePC-nix/sops/secrets.nix"
|
||||
"${self}/s0mePC-nix/sops/defaults.nix"
|
||||
"${self}/s0mePC-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"
|
||||
|
||||
"${self}/s0mePC-nix/system/name.nix"
|
||||
"${self}/s0mePC-nix/system/stateVersion.nix"
|
||||
"${self}/s0mePC-nix/system/name.nix"
|
||||
"${self}/s0mePC-nix/system/stateVersion.nix"
|
||||
|
||||
"${self}/s0mePC-nix/systemd/oomd.nix"
|
||||
"${self}/s0mePC-nix/systemd/slices/system-slice.nix"
|
||||
"${self}/s0mePC-nix/systemd/slices/user-slice.nix"
|
||||
"${self}/s0mePC-nix/systemd/slices/root-slice.nix"
|
||||
"${self}/s0mePC-nix/systemd/oomd.nix"
|
||||
"${self}/s0mePC-nix/systemd/slices/system-slice.nix"
|
||||
"${self}/s0mePC-nix/systemd/slices/user-slice.nix"
|
||||
"${self}/s0mePC-nix/systemd/slices/root-slice.nix"
|
||||
|
||||
"${self}/s0mePC-nix/time/timeZone.nix"
|
||||
"${self}/s0mePC-nix/time/timeZone.nix"
|
||||
|
||||
"${self}/s0mePC-nix/users/users/hand7s.nix"
|
||||
"${self}/s0mePC-nix/users/users/root.nix"
|
||||
"${self}/s0mePC-nix/users/mutableUsers.nix"
|
||||
"${self}/s0mePC-nix/users/users/hand7s.nix"
|
||||
"${self}/s0mePC-nix/users/users/root.nix"
|
||||
"${self}/s0mePC-nix/users/mutableUsers.nix"
|
||||
|
||||
"${self}/s0mePC-nix/virtualisation/docker.nix"
|
||||
"${self}/s0mePC-nix/virtualisation/docker.nix"
|
||||
|
||||
"${self}/s0mePC-nix/xdg/icons.nix"
|
||||
"${self}/s0mePC-nix/xdg/mime.nix"
|
||||
"${self}/s0mePC-nix/xdg/portal.nix"
|
||||
];
|
||||
"${self}/s0mePC-nix/xdg/icons.nix"
|
||||
"${self}/s0mePC-nix/xdg/mime.nix"
|
||||
"${self}/s0mePC-nix/xdg/portal.nix"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,46 +1,46 @@
|
|||
{
|
||||
disko = {
|
||||
devices = {
|
||||
disk = {
|
||||
main = {
|
||||
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013";
|
||||
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/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,51 +1,51 @@
|
|||
{
|
||||
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"
|
||||
"noatime"
|
||||
"discard=async"
|
||||
];
|
||||
};
|
||||
subvolumes = {
|
||||
"/root" = {
|
||||
mountpoint = "/";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"discard=async"
|
||||
];
|
||||
};
|
||||
|
||||
"/home" = {
|
||||
mountpoint = "/home";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"discard=async"
|
||||
];
|
||||
};
|
||||
"/home" = {
|
||||
mountpoint = "/home";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"discard=async"
|
||||
];
|
||||
};
|
||||
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"discard=async"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
"/nix" = {
|
||||
mountpoint = "/nix";
|
||||
mountOptions = [
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
"discard=async"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
(lib.hiPrio uutils-coreutils-noprefix)
|
||||
uutils-findutils
|
||||
uutils-diffutils
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
home-manager
|
||||
];
|
||||
};
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
(lib.hiPrio uutils-coreutils-noprefix)
|
||||
uutils-findutils
|
||||
uutils-diffutils
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
home-manager
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
{config, ...}: {
|
||||
environment = {
|
||||
variables = {
|
||||
AMD_VULKAN_ICD = "RADV";
|
||||
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";
|
||||
GRIMBLAST_HIDE_CURSOR = "0";
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
environment = {
|
||||
variables = {
|
||||
AMD_VULKAN_ICD = "RADV";
|
||||
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";
|
||||
GRIMBLAST_HIDE_CURSOR = "0";
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
initrd = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
initrd = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
cpu = {
|
||||
amd = {
|
||||
updateMicrocode = true;
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
cpu = {
|
||||
amd = {
|
||||
updateMicrocode = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{...}: {
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
{...}: {
|
||||
hardware = {
|
||||
openrazer = {
|
||||
enable = false;
|
||||
users = [
|
||||
"hand7s"
|
||||
];
|
||||
hardware = {
|
||||
openrazer = {
|
||||
enable = false;
|
||||
users = [
|
||||
"hand7s"
|
||||
];
|
||||
|
||||
batteryNotifier = {
|
||||
enable = true;
|
||||
percentage = 15;
|
||||
};
|
||||
};
|
||||
batteryNotifier = {
|
||||
enable = true;
|
||||
percentage = 15;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
hardware = {
|
||||
keyboard = {
|
||||
qmk = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
keyboard = {
|
||||
qmk = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{...}: {
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
priority = 100;
|
||||
memoryPercent = 100;
|
||||
};
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
priority = 100;
|
||||
memoryPercent = 100;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,31 +1,31 @@
|
|||
{
|
||||
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
|
||||
inputs.noctalia.homeModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
backupFileExtension = "force";
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit
|
||||
inputs
|
||||
self
|
||||
;
|
||||
};
|
||||
inputs.nix-index-database.homeModules.nix-index
|
||||
inputs.noctalia.homeModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
backupFileExtension = "force";
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit
|
||||
inputs
|
||||
self
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,30 +1,30 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
firewall = {
|
||||
allowPing = true;
|
||||
enable = true;
|
||||
checkReversePath = false;
|
||||
networking = {
|
||||
firewall = {
|
||||
allowPing = true;
|
||||
enable = true;
|
||||
checkReversePath = false;
|
||||
|
||||
interfaces = {
|
||||
eno1 = rec {
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
];
|
||||
interfaces = {
|
||||
eno1 = rec {
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
];
|
||||
|
||||
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||
};
|
||||
|
||||
salt-hand7s-pc = rec {
|
||||
allowedTCPPorts = [
|
||||
6567
|
||||
];
|
||||
|
||||
allowedUDPPorts = allowedTCPPorts;
|
||||
};
|
||||
};
|
||||
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||
};
|
||||
|
||||
salt-hand7s-pc = rec {
|
||||
allowedTCPPorts = [
|
||||
6567
|
||||
];
|
||||
|
||||
allowedUDPPorts = allowedTCPPorts;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
hostId = "5c79d468";
|
||||
};
|
||||
networking = {
|
||||
hostId = "5c79d468";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
hostName = "s0mePC-nix";
|
||||
};
|
||||
networking = {
|
||||
hostName = "s0mePC-nix";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
hosts = {
|
||||
# nope
|
||||
};
|
||||
networking = {
|
||||
hosts = {
|
||||
# nope
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
useNetworkd = true;
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
useNetworkd = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
networking = {
|
||||
wireguard = {
|
||||
enable = true;
|
||||
};
|
||||
networking = {
|
||||
wireguard = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
nix = {
|
||||
package = pkgs.nixVersions.latest;
|
||||
};
|
||||
nix = {
|
||||
package = pkgs.nixVersions.latest;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
nix = {
|
||||
settings = {
|
||||
sandbox = true;
|
||||
allowed-users = [
|
||||
"@wheel"
|
||||
];
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
sandbox = true;
|
||||
allowed-users = [
|
||||
"@wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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="
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
{...}: {
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-substituters = [
|
||||
# cache.nixos.org
|
||||
"https://nixos-cache-proxy.cofob.dev"
|
||||
"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 = {
|
||||
trusted-substituters = [
|
||||
# cache.nixos.org
|
||||
"https://nixos-cache-proxy.cofob.dev"
|
||||
"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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"@wheel"
|
||||
];
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
trusted-users = [
|
||||
"@wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{...}: {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowBroken = true;
|
||||
};
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowBroken = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{...}: {
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
];
|
||||
};
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{...}: {
|
||||
nixpkgs = {
|
||||
system = "x86_64-linux";
|
||||
hostPlatform = "x86_64-linux";
|
||||
};
|
||||
nixpkgs = {
|
||||
system = "x86_64-linux";
|
||||
hostPlatform = "x86_64-linux";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{...}: {
|
||||
programs = {
|
||||
gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
};
|
||||
programs = {
|
||||
gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
package = pkgs.gamescope_git;
|
||||
args = [
|
||||
"-e"
|
||||
];
|
||||
};
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
package = pkgs.gamescope_git;
|
||||
args = [
|
||||
"-e"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{...}: {
|
||||
programs = {
|
||||
nekoray = {
|
||||
enable = true;
|
||||
tunMode = {
|
||||
enable = true;
|
||||
setuid = true;
|
||||
};
|
||||
};
|
||||
programs = {
|
||||
nekoray = {
|
||||
enable = true;
|
||||
tunMode = {
|
||||
enable = true;
|
||||
setuid = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{...}: {
|
||||
programs = {
|
||||
ssh = {
|
||||
startAgent = true;
|
||||
agentTimeout = "12h";
|
||||
};
|
||||
programs = {
|
||||
ssh = {
|
||||
startAgent = true;
|
||||
agentTimeout = "12h";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
programs = {
|
||||
yubikey-touch-detector = {
|
||||
enable = true;
|
||||
libnotify = true;
|
||||
unixSocket = true;
|
||||
};
|
||||
programs = {
|
||||
yubikey-touch-detector = {
|
||||
enable = true;
|
||||
libnotify = true;
|
||||
unixSocket = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
{...}: {
|
||||
security = {
|
||||
pam = {
|
||||
yubico = {
|
||||
enable = false;
|
||||
debug = true;
|
||||
mode = "challenge-response";
|
||||
control = "sufficient";
|
||||
id = [
|
||||
"1873055870"
|
||||
];
|
||||
};
|
||||
};
|
||||
security = {
|
||||
pam = {
|
||||
yubico = {
|
||||
enable = false;
|
||||
debug = true;
|
||||
mode = "challenge-response";
|
||||
control = "sufficient";
|
||||
id = [
|
||||
"1873055870"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
security = {
|
||||
polkit = {
|
||||
enable = true;
|
||||
adminIdentities = [
|
||||
"unix-group:wheel"
|
||||
];
|
||||
};
|
||||
security = {
|
||||
polkit = {
|
||||
enable = true;
|
||||
adminIdentities = [
|
||||
"unix-group:wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
security = {
|
||||
rtkit = {
|
||||
enable = true;
|
||||
};
|
||||
security = {
|
||||
rtkit = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
security = {
|
||||
sudo-rs = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true;
|
||||
execWheelOnly = true;
|
||||
};
|
||||
security = {
|
||||
sudo-rs = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = true;
|
||||
execWheelOnly = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}: {
|
||||
security = {
|
||||
sudo = {
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
security = {
|
||||
sudo = {
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.hyprland} --greet-align center";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
greetd = {
|
||||
enable = true;
|
||||
restart = false;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${lib.getExe pkgs.tuigreet} -r -t -c ${lib.getExe pkgs.hyprland} --greet-align center";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
services = {
|
||||
irqbalance = {
|
||||
enable = true;
|
||||
};
|
||||
services = {
|
||||
irqbalance = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
{...}: {
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
services = {
|
||||
netbird = {
|
||||
enable = true;
|
||||
};
|
||||
services = {
|
||||
netbird = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
{config, ...}: {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
allowSFTP = true;
|
||||
openFirewall = true;
|
||||
ports = [
|
||||
45734
|
||||
];
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
allowSFTP = true;
|
||||
openFirewall = true;
|
||||
ports = [
|
||||
45734
|
||||
];
|
||||
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
services = {
|
||||
udev = {
|
||||
packages = with pkgs; [
|
||||
qmk-udev-rules
|
||||
];
|
||||
};
|
||||
services = {
|
||||
udev = {
|
||||
packages = with pkgs; [
|
||||
qmk-udev-rules
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
{...}: {
|
||||
services = {
|
||||
resolved = {
|
||||
enable = true;
|
||||
dnsovertls = "true";
|
||||
dnssec = "true";
|
||||
llmnr = "true";
|
||||
domains = [
|
||||
"~."
|
||||
];
|
||||
services = {
|
||||
resolved = {
|
||||
enable = true;
|
||||
dnsovertls = "true";
|
||||
dnssec = "true";
|
||||
llmnr = "true";
|
||||
domains = [
|
||||
"~."
|
||||
];
|
||||
|
||||
fallbackDns = [
|
||||
# cf dns
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
"2606:4700:4700::1111"
|
||||
"2606:4700:4700::1001"
|
||||
fallbackDns = [
|
||||
# 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
services = {
|
||||
scx = {
|
||||
enable = true;
|
||||
# package = pkgs.scx_git.full;
|
||||
scheduler = "scx_cosmos";
|
||||
};
|
||||
services = {
|
||||
scx = {
|
||||
enable = true;
|
||||
# package = pkgs.scx_git.full;
|
||||
scheduler = "scx_cosmos";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
services = {
|
||||
sunshine = {
|
||||
enable = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
autoStart = true;
|
||||
};
|
||||
services = {
|
||||
sunshine = {
|
||||
enable = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
autoStart = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
services = {
|
||||
usbmuxd = {
|
||||
enable = true;
|
||||
package = pkgs.usbmuxd2;
|
||||
};
|
||||
services = {
|
||||
usbmuxd = {
|
||||
enable = true;
|
||||
package = pkgs.usbmuxd2;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
"amdgpu"
|
||||
];
|
||||
videoDrivers = [
|
||||
"amdgpu"
|
||||
];
|
||||
|
||||
xkb = {
|
||||
layout = "us, ru";
|
||||
variant = "";
|
||||
options = "grp:caps_toggle";
|
||||
};
|
||||
};
|
||||
xkb = {
|
||||
layout = "us, ru";
|
||||
variant = "";
|
||||
options = "grp:caps_toggle";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,64 +1,64 @@
|
|||
{...}: {
|
||||
services = {
|
||||
yggdrasil = {
|
||||
enable = true;
|
||||
persistentKeys = false;
|
||||
settings = {
|
||||
PrivateKey = "${yggKeyPC}";
|
||||
services = {
|
||||
yggdrasil = {
|
||||
enable = true;
|
||||
persistentKeys = false;
|
||||
settings = {
|
||||
PrivateKey = "${yggKeyPC}";
|
||||
|
||||
Peers = [
|
||||
# Germany :Erm:
|
||||
"tcp://s-fra-0.sergeysedoy97.ru:65533"
|
||||
"tls://s-fra-0.sergeysedoy97.ru:65534"
|
||||
"tcp://x-fra-0.sergeysedoy97.ru:65533"
|
||||
"tls://x-fra-0.sergeysedoy97.ru:65534"
|
||||
"quic://x-fra-0.sergeysedoy97.ru:65535"
|
||||
"tls://helium.avevad.com:13378"
|
||||
"tcp://bode.theender.net:42069"
|
||||
"tls://bode.theender.net:42169?key=f91b909f43829f8b20732b3bcf80cbc4bb078dd47b41638379a078e35984c9a4"
|
||||
Peers = [
|
||||
# Germany :Erm:
|
||||
"tcp://s-fra-0.sergeysedoy97.ru:65533"
|
||||
"tls://s-fra-0.sergeysedoy97.ru:65534"
|
||||
"tcp://x-fra-0.sergeysedoy97.ru:65533"
|
||||
"tls://x-fra-0.sergeysedoy97.ru:65534"
|
||||
"quic://x-fra-0.sergeysedoy97.ru:65535"
|
||||
"tls://helium.avevad.com:13378"
|
||||
"tcp://bode.theender.net:42069"
|
||||
"tls://bode.theender.net:42169?key=f91b909f43829f8b20732b3bcf80cbc4bb078dd47b41638379a078e35984c9a4"
|
||||
|
||||
# Russia
|
||||
"tcp://s-mow-0.sergeysedoy97.ru:65533"
|
||||
"tls://s-mow-0.sergeysedoy97.ru:65534"
|
||||
"tcp://x-mow-0.sergeysedoy97.ru:65533"
|
||||
"tls://x-mow-0.sergeysedoy97.ru:65534"
|
||||
"quic://x-mow-0.sergeysedoy97.ru:65535"
|
||||
"tcp://s-mow-1.sergeysedoy97.ru:65533"
|
||||
"tls://s-mow-1.sergeysedoy97.ru:65534"
|
||||
"tcp://x-mow-1.sergeysedoy97.ru:65533"
|
||||
"tls://x-mow-1.sergeysedoy97.ru:65534"
|
||||
"quic://x-mow-1.sergeysedoy97.ru:65535"
|
||||
"quic://kursk.cleverfox.org:15015"
|
||||
"tls://kursk.cleverfox.org:15015"
|
||||
"ws://kursk.cleverfox.org:15016"
|
||||
"tcp://kzn1.neonxp.ru:7991"
|
||||
"tls://kzn1.neonxp.ru:7992"
|
||||
"ws://kzn1.neonxp.ru:7993"
|
||||
"quic://kzn1.neonxp.ru:7994"
|
||||
];
|
||||
# Russia
|
||||
"tcp://s-mow-0.sergeysedoy97.ru:65533"
|
||||
"tls://s-mow-0.sergeysedoy97.ru:65534"
|
||||
"tcp://x-mow-0.sergeysedoy97.ru:65533"
|
||||
"tls://x-mow-0.sergeysedoy97.ru:65534"
|
||||
"quic://x-mow-0.sergeysedoy97.ru:65535"
|
||||
"tcp://s-mow-1.sergeysedoy97.ru:65533"
|
||||
"tls://s-mow-1.sergeysedoy97.ru:65534"
|
||||
"tcp://x-mow-1.sergeysedoy97.ru:65533"
|
||||
"tls://x-mow-1.sergeysedoy97.ru:65534"
|
||||
"quic://x-mow-1.sergeysedoy97.ru:65535"
|
||||
"quic://kursk.cleverfox.org:15015"
|
||||
"tls://kursk.cleverfox.org:15015"
|
||||
"ws://kursk.cleverfox.org:15016"
|
||||
"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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
services = {
|
||||
yubikey-agent = {
|
||||
package = pkgs.yubikey-agent;
|
||||
enable = false;
|
||||
};
|
||||
services = {
|
||||
yubikey-agent = {
|
||||
package = pkgs.yubikey-agent;
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
services = {
|
||||
zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = [
|
||||
# nope
|
||||
];
|
||||
};
|
||||
services = {
|
||||
zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = [
|
||||
# nope
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{config, ...}: {
|
||||
system = {
|
||||
name = config.networking.hostName;
|
||||
};
|
||||
system = {
|
||||
name = config.networking.hostName;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{config, ...}: {
|
||||
system = {
|
||||
stateVersion = config.system.nixos.release;
|
||||
};
|
||||
system = {
|
||||
stateVersion = config.system.nixos.release;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
systemd = {
|
||||
oomd = {
|
||||
enable = true;
|
||||
enableUserSlices = true;
|
||||
enableSystemSlice = true;
|
||||
enableRootSlice = true;
|
||||
};
|
||||
systemd = {
|
||||
oomd = {
|
||||
enable = true;
|
||||
enableUserSlices = true;
|
||||
enableSystemSlice = true;
|
||||
enableRootSlice = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{...}: {
|
||||
systemd = {
|
||||
slices = {
|
||||
root = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
systemd = {
|
||||
slices = {
|
||||
root = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{...}: {
|
||||
systemd = {
|
||||
slices = {
|
||||
system = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
systemd = {
|
||||
slices = {
|
||||
system = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{...}: {
|
||||
systemd = {
|
||||
slices = {
|
||||
user = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
systemd = {
|
||||
slices = {
|
||||
user = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{...}: {
|
||||
time = {
|
||||
timeZone = "Europe/Moscow";
|
||||
hardwareClockInLocalTime = true;
|
||||
};
|
||||
time = {
|
||||
timeZone = "Europe/Moscow";
|
||||
hardwareClockInLocalTime = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
};
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{...}: {
|
||||
users = {
|
||||
users = {
|
||||
users = {
|
||||
root = {
|
||||
initialHashedPassword = "$6$n4OLMvYHHStHvtmr$6OL0NV1dEM2b6oJRewkhuoFxM80lI67tfbJ6QkCg8WAA1gbeKrcwDAuJjm8zvpY4zcDR3Z5Zbo8uebfOi6XXF0";
|
||||
};
|
||||
};
|
||||
root = {
|
||||
initialHashedPassword = "$6$n4OLMvYHHStHvtmr$6OL0NV1dEM2b6oJRewkhuoFxM80lI67tfbJ6QkCg8WAA1gbeKrcwDAuJjm8zvpY4zcDR3Z5Zbo8uebfOi6XXF0";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{...}: {
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
xdg = {
|
||||
icons = {
|
||||
enable = true;
|
||||
};
|
||||
xdg = {
|
||||
icons = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
{pkgs, ...}: {
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
|
||||
config = {
|
||||
common = {
|
||||
default = [
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
|
||||
hyprland = {
|
||||
preferred = [
|
||||
"gtk"
|
||||
"hyprland"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
];
|
||||
config = {
|
||||
common = {
|
||||
default = [
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
|
||||
hyprland = {
|
||||
preferred = [
|
||||
"gtk"
|
||||
"hyprland"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue