ada: upstream

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-02-08 22:27:39 +03:00
parent 3640ca2a81
commit 9894319d38
74 changed files with 130 additions and 387 deletions

View file

@ -1,4 +1,4 @@
{lib, ...}: { _: {
boot = { boot = {
initrd = { initrd = {
availableKernelModules = [ availableKernelModules = [
@ -14,9 +14,9 @@
]; ];
supportedFilesystems = { supportedFilesystems = {
ntfs = true;
vfat = true; vfat = true;
btrfs = true; btrfs = true;
zfs = lib.mkForce true;
}; };
kernelModules = [ kernelModules = [

View file

@ -1,7 +1,6 @@
{ {
config, config,
pkgs, pkgs,
lib,
... ...
}: { }: {
boot = { boot = {
@ -17,7 +16,7 @@
}; };
}; };
kernelPackages = pkgs.linuxPackages_cachyos-gcc; kernelPackages = pkgs.linuxPackages_latest;
extraModulePackages = with config.boot.kernelPackages; [ extraModulePackages = with config.boot.kernelPackages; [
zenpower zenpower
v4l2loopback v4l2loopback
@ -32,7 +31,6 @@
]; ];
kernelParams = [ kernelParams = [
"video=DP-1:2560x1440@165"
"amd_pstate=guided" "amd_pstate=guided"
"udev.log_priority=3" "udev.log_priority=3"
"quiet" "quiet"
@ -45,6 +43,7 @@
"page_alloc.shuffle=1" "page_alloc.shuffle=1"
"page_poison=1" "page_poison=1"
"slab_nomerge" "slab_nomerge"
"zswap.enabled=0"
"kernel.watchdog=0" "kernel.watchdog=0"
"oops=panic" "oops=panic"
@ -68,6 +67,7 @@
"hfs" "hfs"
"hpfs" "hpfs"
"jfs" "jfs"
"zfs"
"minix" "minix"
"nilfs2" "nilfs2"
"ntfs" "ntfs"
@ -81,9 +81,9 @@
]; ];
supportedFilesystems = { supportedFilesystems = {
ntfs = true;
vfat = true; vfat = true;
btrfs = true; btrfs = true;
zfs = lib.mkForce true;
}; };
consoleLogLevel = 0; consoleLogLevel = 0;

View file

@ -1,4 +1,4 @@
{...}: { _: {
boot = { boot = {
lanzaboote = { lanzaboote = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{...}: { _: {
boot = { boot = {
loader = { loader = {
systemd-boot = { systemd-boot = {

View file

@ -1,4 +1,4 @@
{...}: { _: {
boot = { boot = {
tmp = { tmp = {
useTmpfs = true; useTmpfs = true;

View file

@ -1,9 +0,0 @@
{pkgs, ...}: {
boot = {
zfs = {
package = pkgs.zfs_cachyos;
allowHibernation = false;
removeLinuxDRM = false;
};
};
}

View file

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

View file

@ -6,7 +6,6 @@
"${self}/ada/boot/plymouth.nix" "${self}/ada/boot/plymouth.nix"
"${self}/ada/boot/tmp.nix" "${self}/ada/boot/tmp.nix"
"${self}/ada/boot/loader/systemd-boot.nix" "${self}/ada/boot/loader/systemd-boot.nix"
"${self}/ada/boot/zfs.nix"
"${self}/ada/disko/disk.nix" "${self}/ada/disko/disk.nix"
"${self}/ada/disko/lvm_vg.nix" "${self}/ada/disko/lvm_vg.nix"
@ -19,9 +18,10 @@
"${self}/ada/hardware/amdgpu.nix" "${self}/ada/hardware/amdgpu.nix"
"${self}/ada/hardware/cpu.nix" "${self}/ada/hardware/cpu.nix"
"${self}/ada/hardware/graphics.nix" "${self}/ada/hardware/graphics.nix"
"${self}/ada/hardware/openrazer.nix"
"${self}/ada/hardware/qmk.nix" "${self}/ada/hardware/qmk.nix"
"${self}/ada/hardware/zram.nix" "${self}/ada/hardware/zram.nix"
"${self}/ada/hardware/bluetooth.nix"
"${self}/ada/hardware/"
"${self}/ada/home-manager/users.nix" "${self}/ada/home-manager/users.nix"
@ -70,14 +70,12 @@
"${self}/ada/services/qmk.nix" "${self}/ada/services/qmk.nix"
"${self}/ada/services/scx.nix" "${self}/ada/services/scx.nix"
"${self}/ada/services/xserver.nix" "${self}/ada/services/xserver.nix"
"${self}/ada/services/zapret.nix"
"${self}/ada/services/zerotier.nix"
"${self}/ada/services/yggdrasil.nix"
"${self}/ada/services/sunshine.nix" "${self}/ada/services/sunshine.nix"
"${self}/ada/services/usbmuxd.nix" "${self}/ada/services/usbmuxd.nix"
"${self}/ada/services/irqbalance.nix" "${self}/ada/services/irqbalance.nix"
"${self}/ada/services/yubikey-agent.nix" "${self}/ada/services/yubikey-agent.nix"
"${self}/ada/services/resolved.nix" "${self}/ada/services/resolved.nix"
"${self}/ada/services/firewalld.nix"
"${self}/ada/sops/defaults.nix" "${self}/ada/sops/defaults.nix"
"${self}/ada/sops/secrets.nix" "${self}/ada/sops/secrets.nix"
@ -102,8 +100,6 @@
"${self}/ada/users/users/root.nix" "${self}/ada/users/users/root.nix"
"${self}/ada/users/mutableUsers.nix" "${self}/ada/users/mutableUsers.nix"
"${self}/ada/virtualisation/docker.nix"
"${self}/ada/xdg/icons.nix" "${self}/ada/xdg/icons.nix"
"${self}/ada/xdg/mime.nix" "${self}/ada/xdg/mime.nix"
"${self}/ada/xdg/portal.nix" "${self}/ada/xdg/portal.nix"

View file

@ -22,6 +22,7 @@
]; ];
}; };
}; };
luks = { luks = {
size = "100%"; size = "100%";
content = { content = {

View file

@ -1,7 +1,7 @@
{config, ...}: { {config, ...}: {
environment = { environment = {
variables = { variables = {
AMD_VULKAN_ICD = "RADV"; AMD_VULKAN_ICD = "AMDVLK";
HOSTNAME = config.networking.hostName; HOSTNAME = config.networking.hostName;
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland"; SDL_VIDEODRIVER = "wayland";

View file

@ -1,4 +1,4 @@
{...}: { _: {
hardware = { hardware = {
amdgpu = { amdgpu = {
initrd = { initrd = {

View file

@ -0,0 +1,7 @@
_: {
hardware = {
bluetooth = {
enable = true;
};
};
}

View file

@ -1,6 +1,5 @@
{...}: { _: {
hardware = { hardware = {
enableRedistributableFirmware = true;
cpu = { cpu = {
amd = { amd = {
updateMicrocode = true; updateMicrocode = true;

8
ada/hardware/default.nix Normal file
View file

@ -0,0 +1,8 @@
_: {
hardware = {
enableAllFirmware = true;
enableAllHardware = true;
enableRedistributableFirmware = true;
firmwareCompression = "zstd";
};
}

View file

@ -1,4 +1,4 @@
{...}: { _: {
hardware = { hardware = {
graphics = { graphics = {
enable = true; enable = true;

View file

@ -1,15 +0,0 @@
{...}: {
hardware = {
openrazer = {
enable = false;
users = [
"hand7s"
];
batteryNotifier = {
enable = true;
percentage = 15;
};
};
};
}

View file

@ -1,4 +1,4 @@
{...}: { _: {
hardware = { hardware = {
keyboard = { keyboard = {
qmk = { qmk = {

View file

@ -1,4 +1,4 @@
{...}: { _: {
zramSwap = { zramSwap = {
enable = true; enable = true;
algorithm = "zstd"; algorithm = "zstd";

View file

@ -1,20 +1,17 @@
{ {self, ...}: {
inputs,
self,
...
}: {
home-manager = { home-manager = {
users = { users = {
hand7s = { "hand7s" = {
imports = [ imports = [
"${self}/hand7s/" "${self}/hand7s/"
inputs.spicetify-nix.homeManagerModules.default self.inputs.agenix.homeManagerModules.default
inputs.hyprland.homeManagerModules.default self.inputs.spicetify-nix.homeManagerModules.default
inputs.chaotic.homeManagerModules.default self.inputs.hyprland.homeManagerModules.default
inputs.sops-nix.homeManagerModules.sops self.inputs.chaotic.homeManagerModules.default
self.inputs.sops-nix.homeManagerModules.sops
inputs.nix-index-database.homeModules.nix-index self.inputs.nix-index-database.homeModules.nix-index
inputs.noctalia.homeModules.default self.inputs.noctalia.homeModules.default
]; ];
}; };
}; };
@ -23,7 +20,6 @@
extraSpecialArgs = { extraSpecialArgs = {
inherit inherit
inputs
self self
; ;
}; };

View file

@ -1,4 +1,4 @@
{...}: { _: {
i18n = { i18n = {
defaultLocale = "en_US.UTF-8"; defaultLocale = "en_US.UTF-8";
supportedLocales = [ supportedLocales = [

View file

@ -1,30 +1,14 @@
{...}: { _: {
networking = { networking = {
firewall = { firewall = {
allowPing = true; allowPing = true;
enable = true; enable = false;
checkReversePath = false; checkReversePath = false;
interfaces = {
eno1 = rec {
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedUDPPortRanges = allowedTCPPortRanges;
}; };
salt-hand7s-pc = rec { nftables = {
allowedTCPPorts = [ enable = true;
6567 flattenRulesetFile = true;
];
allowedUDPPorts = allowedTCPPorts;
};
};
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{...}: { _: {
networking = { networking = {
hostId = "5c79d468"; hostId = "5c79d468";
}; };

View file

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

View file

@ -1,4 +1,4 @@
{...}: { _: {
networking = { networking = {
hosts = { hosts = {
# nope # nope

View file

@ -1,4 +1,4 @@
{...}: { _: {
networking = { networking = {
nameservers = [ nameservers = [
# cf dns # cf dns

View file

@ -1,4 +1,4 @@
{...}: { _: {
networking = { networking = {
networkmanager = { networkmanager = {
enable = false; enable = false;

View file

@ -1,4 +1,4 @@
{...}: { _: {
networking = { networking = {
timeServers = [ timeServers = [
"0.nixos.pool.ntp.org" "0.nixos.pool.ntp.org"

View file

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

View file

@ -1,4 +1,4 @@
{...}: { _: {
nix = { nix = {
settings = { settings = {
sandbox = true; sandbox = true;

View file

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

View file

@ -1,4 +1,4 @@
{...}: { _: {
nix = { nix = {
settings = { settings = {
experimental-features = [ experimental-features = [

View file

@ -1,4 +1,4 @@
{...}: { _: {
nix = { nix = {
settings = { settings = {
substituters = [ substituters = [
@ -9,10 +9,10 @@
# cachix # cachix
"https://nix-community.cachix.org/" "https://nix-community.cachix.org/"
"https://chaotic-nyx.cachix.org/" "https://chaotic-nyx.cachix.org/"
"https://ags.cachix.org"
"https://hyprland.cachix.org" "https://hyprland.cachix.org"
"https://chaotic-nyx.cachix.org/" "https://chaotic-nyx.cachix.org/"
"https://colmena.cachix.org" # nix-community
"https://hydra.nix-community.org/"
]; ];
}; };
}; };

View file

@ -1,4 +1,4 @@
{...}: { _: {
nix = { nix = {
settings = { settings = {
trusted-public-keys = [ trusted-public-keys = [

View file

@ -1,4 +1,4 @@
{...}: { _: {
nix = { nix = {
settings = { settings = {
trusted-substituters = [ trusted-substituters = [
@ -13,7 +13,6 @@
"https://ags.cachix.org" "https://ags.cachix.org"
"https://hyprland.cachix.org" "https://hyprland.cachix.org"
"https://chaotic-nyx.cachix.org/" "https://chaotic-nyx.cachix.org/"
"https://colmena.cachix.org"
]; ];
}; };
}; };

View file

@ -1,4 +1,4 @@
{...}: { _: {
nix = { nix = {
settings = { settings = {
trusted-users = [ trusted-users = [

View file

@ -1,4 +1,4 @@
{...}: { _: {
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;

View file

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

View file

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

View file

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

View file

@ -2,7 +2,7 @@
programs = { programs = {
gamescope = { gamescope = {
enable = true; enable = true;
package = pkgs.gamescope_git; package = pkgs.gamescope;
args = [ args = [
"-e" "-e"
]; ];

View file

@ -1,6 +1,6 @@
{...}: { _: {
programs = { programs = {
nekoray = { throne = {
enable = true; enable = true;
tunMode = { tunMode = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{...}: { _: {
programs = { programs = {
nh = { nh = {
enable = true; enable = true;

View file

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

View file

@ -1,4 +1,4 @@
{...}: { _: {
programs = { programs = {
yubikey-touch-detector = { yubikey-touch-detector = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{...}: { _: {
security = { security = {
pam = { pam = {
yubico = { yubico = {

View file

@ -1,4 +1,4 @@
{...}: { _: {
security = { security = {
polkit = { polkit = {
enable = true; enable = true;

View file

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

View file

@ -1,4 +1,4 @@
{...}: { _: {
security = { security = {
sudo-rs = { sudo-rs = {
enable = true; enable = true;

View file

@ -0,0 +1,15 @@
{...}: {
services = {
firewalld = {
enable = true;
settings = {
# nope
};
zones = {
# nope
};
};
};
}

View file

@ -9,7 +9,7 @@
restart = false; restart = false;
settings = { settings = {
default_session = { default_session = {
command = "${lib.getExe pkgs.tuigreet} -r -t -c ${lib.getExe pkgs.hyprland} --greet-align center"; command = "${lib.getExe pkgs.tuigreet} -r -t -c ${lib.getExe' pkgs.hyprland "start-hyprland"} --greet-align center";
user = "greeter"; user = "greeter";
}; };
}; };

View file

@ -1,4 +1,4 @@
{...}: { _: {
services = { services = {
irqbalance = { irqbalance = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{...}: { _: {
services = { services = {
libinput = { libinput = {
enable = true; enable = true;

View file

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

View file

@ -5,7 +5,7 @@
allowSFTP = true; allowSFTP = true;
openFirewall = true; openFirewall = true;
ports = [ ports = [
45734 53864
]; ];
settings = { settings = {

View file

@ -1,4 +1,4 @@
{...}: { _: {
services = { services = {
pipewire = { pipewire = {
enable = true; enable = true;
@ -25,6 +25,7 @@
extraConfig = { extraConfig = {
pipewire = { pipewire = {
# PIPEWIRE_PROPS=node.force-rate=0
"92-low-latency" = { "92-low-latency" = {
"context.properties" = { "context.properties" = {
"default.clock.rate" = 48000; "default.clock.rate" = 48000;

View file

@ -1,4 +1,4 @@
{...}: { _: {
services = { services = {
resolved = { resolved = {
enable = true; enable = true;

View file

@ -1,8 +1,7 @@
{...}: { _: {
services = { services = {
scx = { scx = {
enable = true; enable = true;
# package = pkgs.scx_git.full;
scheduler = "scx_cosmos"; scheduler = "scx_cosmos";
}; };
}; };

View file

@ -1,4 +1,4 @@
{...}: { _: {
services = { services = {
sunshine = { sunshine = {
enable = true; enable = true;

View file

@ -1,63 +1,10 @@
{...}: { _: {
services = { services = {
yggdrasil = { yggdrasil = {
enable = true; enable = false;
persistentKeys = false; persistentKeys = false;
settings = { settings = {
PrivateKey = "${yggKeyPC}"; # nope
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"
];
Listen = [
#
];
MulticastInterfaces = [
{
Regex = ".*";
Beacon = true;
Listen = false;
Password = "";
}
];
AllowedPublicKeys = [
#
];
IfName = "auto";
IfMTU = 65535;
NodeInfoPrivacy = false;
}; };
}; };
}; };

View file

@ -1,145 +0,0 @@
{...}: {
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=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-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-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"
"--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-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"
];
};
};
}

View file

@ -1,4 +1,4 @@
{...}: { _: {
services = { services = {
zerotierone = { zerotierone = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{...}: { _: {
systemd = { systemd = {
oomd = { oomd = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{...}: { _: {
systemd = { systemd = {
slices = { slices = {
root = { root = {

View file

@ -1,4 +1,4 @@
{...}: { _: {
systemd = { systemd = {
slices = { slices = {
system = { system = {

View file

@ -1,4 +1,4 @@
{...}: { _: {
systemd = { systemd = {
slices = { slices = {
user = { user = {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
{...}: { _: {
xdg = { xdg = {
mime = { mime = {
enable = true; enable = true;

View file

@ -5,12 +5,18 @@
config = { config = {
common = { common = {
"org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
default = [ default = [
"gtk" "gtk"
]; ];
}; };
hyprland = { hyprland = {
"org.freedesktop.impl.portal.FileChooser" = [
"termfilechooser"
];
preferred = [ preferred = [
"gtk" "gtk"
"hyprland" "hyprland"
@ -22,6 +28,7 @@
xdg-desktop-portal xdg-desktop-portal
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
xdg-desktop-portal-termfilechooser
]; ];
}; };
}; };

View file

@ -617,41 +617,6 @@
]; ];
}; };
}; };
# deploy-rs
deploy = {
user = "hand7s";
interactiveSudo = true;
autoRollback = true;
magicRollback = true;
remoteBuild = false;
sshOpts = [
"-p"
"6969"
];
nodes = {
"s0mev1rtn0de-nix" = {
hostname = "100.109.213.170";
profiles = {
main = {
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.s0mev1rtn0de-nix;
profilePath = "/nix/var/nix/profiles/system";
};
};
};
"s0meMiniPC-nix" = {
hostname = "100.109.71.194";
profiles = {
main = {
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.s0mev1rtn0de-nix;
profilePath = "/nix/var/nix/profiles/system";
};
};
};
};
};
}; };
perSystem = { perSystem = {