Compare commits

..

13 commits

Author SHA1 Message Date
janis 77951e7a1a
scrap nixdev alias 2026-04-10 12:31:15 +02:00
janis b6e50b80b8
blender! 2026-04-10 12:31:11 +02:00
janis f4586e0de8
disable resolved 2026-04-10 12:31:05 +02:00
janis 60348be70c
add nordvpn back to nordvpn-rofi 2026-04-06 20:25:17 +02:00
janis 0f9be571ed
docker 2026-04-06 20:21:35 +02:00
janis e209f0fa61
idk.. updated stuff? 2026-04-06 20:21:13 +02:00
janis 50f8111516
updating everything 22.3.26 2026-03-23 12:19:10 +01:00
janis 21b27e9f6b
wsl uesr name 2026-03-23 12:18:37 +01:00
janis b59f5709aa
global cargo config 2025-12-29 19:38:58 +01:00
janis 291e8022ba
gaming 2025-12-29 19:38:53 +01:00
janis 8c5cc69618
update to 25.11 2025-12-29 19:36:44 +01:00
janis 2be1888f5f
nix flake update 2025-12-28 16:24:28 +01:00
janis 308a12793c
ungoogled chromium 2025-12-28 16:23:15 +01:00
16 changed files with 281 additions and 60 deletions

View file

@ -33,11 +33,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773506317, "lastModified": 1773889306,
"narHash": "sha256-qWKbLUJpavIpvOdX1fhHYm0WGerytFHRoh9lVck6Bh0=", "narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "878ec37d6a8f52c6c801d0e2a2ad554c75b9353c", "rev": "5ad85c82cc52264f4beddc934ba57f3789f28347",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +74,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1773827727, "lastModified": 1774262056,
"narHash": "sha256-ju4C3oAyUWeEItQKvLvl0ME9FUsHsAJKFo2BJ9i36Jw=", "narHash": "sha256-WXu81OceTamUkEX/WufrEqofxztQ30jJbPpY+5e2wfc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "73dcf114c2bab0f2bbd8b922beb1c6dafee6846c", "rev": "eedc208a1db00cfdbc75a8689ac1127444930765",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -104,6 +104,27 @@
} }
}, },
"flake-parts": { "flake-parts": {
"inputs": {
"nixpkgs-lib": [
"nordvpn-flake",
"hercules-ci-effects",
"nixpkgs"
]
},
"locked": {
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
"id": "flake-parts",
"type": "indirect"
}
},
"flake-parts_2": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"nur", "nur",
@ -124,6 +145,43 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"hercules-ci-effects": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1758022363,
"narHash": "sha256-ENUhCRWgSX4ni751HieNuQoq06dJvApV/Nm89kh+/A0=",
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"rev": "1a3667d33e247ad35ca250698d63f49a5453d824",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -131,11 +189,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773681845, "lastModified": 1773963144,
"narHash": "sha256-o8hrZrigP0JYcwnglCp8Zi8jQafWsxbDtRRPzuVwFxY=", "narHash": "sha256-WzBOBfSay3GYilUfKaUa1Mbf8/jtuAiJIedx7fWuIX4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0759e0e137305bc9d0c52c204c6d8dffe6f601a6", "rev": "a91b3ea73a765614d90360580b689c48102d1d33",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -151,11 +209,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1773603777, "lastModified": 1773882647,
"narHash": "sha256-oXSEbMR/IuHYk9nvrbRhaYBxVK5s63DH2UGOZT2ok48=", "narHash": "sha256-VzcOcE0LLpEnyoxLuMuptZ9ZWCkSBn99bTgEQoz5Viw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "0efe7af73d6e4a8d447a22936c5526d73822b0a7", "rev": "fd0eae98d1ecee31024271f8d64676250a386ee7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -183,11 +241,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1773705440, "lastModified": 1773964973,
"narHash": "sha256-xB30bbAp0e7ogSEYyc126mAJMt4FRFh8wtm6ADE1xuM=", "narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "48652e9d5aea46e555b3df87354280d4f29cd3a3", "rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -199,11 +257,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1773734432, "lastModified": 1774106199,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=", "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558", "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -247,11 +305,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1773282481, "lastModified": 1773734432,
"narHash": "sha256-b/GV2ysM8mKHhinse2wz+uP37epUrSE+sAKXy/xvBY4=", "narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fe416aaedd397cacb33a610b33d60ff2b431b127", "rev": "cda48547b432e8d3b18b4180ba07473762ec8558",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -263,11 +321,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1773705440, "lastModified": 1773964973,
"narHash": "sha256-xB30bbAp0e7ogSEYyc126mAJMt4FRFh8wtm6ADE1xuM=", "narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "48652e9d5aea46e555b3df87354280d4f29cd3a3", "rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -279,11 +337,27 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1773734432, "lastModified": 1755027561,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=", "narHash": "sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV+3/aO28gXpGtMXI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "005433b926e16227259a1843015b5b2b7f7d1fc3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1774106199,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558", "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -293,17 +367,65 @@
"type": "github" "type": "github"
} }
}, },
"nur": { "nordvpn-amd64-deb": {
"flake": false,
"locked": {
"narHash": "sha256-AfVDD/9ASErvgcG590/O+l7jeIeAv+PQkOvkRX8wC7I=",
"type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.2.0_amd64.deb"
},
"original": {
"type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.2.0_amd64.deb"
}
},
"nordvpn-arm64-deb": {
"flake": false,
"locked": {
"narHash": "sha256-YweSq0QV+rMNWvvWw6RN0XbsvGeZVIUlJo3z+l+f79w=",
"type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.2.0_arm64.deb"
},
"original": {
"type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.2.0_arm64.deb"
}
},
"nordvpn-flake": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_6" "hercules-ci-effects": "hercules-ci-effects",
"nixpkgs": [
"nixpkgs"
],
"nordvpn-amd64-deb": "nordvpn-amd64-deb",
"nordvpn-arm64-deb": "nordvpn-arm64-deb"
}, },
"locked": { "locked": {
"lastModified": 1773831707, "lastModified": 1764175314,
"narHash": "sha256-By+BDtmJTKpvZYEQndmIdvDvpk2fjW1/eG5cj8bT0J4=", "narHash": "sha256-fe3+VYJb5poUyrlyLe9GCgTggkxPo/JvXZ4EGroIY10=",
"owner": "connerohnesorge",
"repo": "nordvpn-flake",
"rev": "97d3e39957c207af6b732f2b290763404041f36e",
"type": "github"
},
"original": {
"owner": "connerohnesorge",
"repo": "nordvpn-flake",
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1774262207,
"narHash": "sha256-VDjz6p/BMjjqLZJP5YzW5pjlt3s3jJUpVX8fTwU7zAk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "afc57b7040ac8dde32ce922c8da264809f55fb43", "rev": "2f17ef721626a9d87acb7f74da31cbb15b452797",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -334,6 +456,7 @@
"nixos-wsl": "nixos-wsl", "nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nordvpn-flake": "nordvpn-flake",
"nur": "nur" "nur": "nur"
} }
}, },
@ -453,6 +576,21 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -18,9 +18,11 @@
}; };
apple-fonts.url = "github:Lyndeno/apple-fonts.nix"; apple-fonts.url = "github:Lyndeno/apple-fonts.nix";
duralumin.url = "git+https://git.nirgendwo.xyz/janis/duralumin.git"; duralumin.url = "git+https://git.nirgendwo.xyz/janis/duralumin.git";
nordvpn-flake.url = "github:connerohnesorge/nordvpn-flake";
nordvpn-flake.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs @ { self, disko, nixpkgs, nixos-wsl, nixpkgs-unstable, home-manager, duralumin, emacs-overlay, ... }: outputs = inputs @ { disko, nixpkgs, nixos-wsl, nixpkgs-unstable, home-manager, duralumin, emacs-overlay, nordvpn-flake, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
overlay-unstable = final: prev: { overlay-unstable = final: prev: {
@ -40,6 +42,7 @@
./pkgs ./pkgs
host host
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nordvpn-flake.nixosModules.default
disko.nixosModules.disko disko.nixosModules.disko
{ {
home-manager.useGlobalPkgs = true; # Use global packages in home-manager home-manager.useGlobalPkgs = true; # Use global packages in home-manager
@ -95,6 +98,8 @@
nixos-wsl.nixosModules.default nixos-wsl.nixosModules.default
./user/wsl.nix ./user/wsl.nix
{ {
wsl.enable = true;
# wsl wants a subset of the system configuration, sans power, wireless, boot # wsl wants a subset of the system configuration, sans power, wireless, boot
imports = [ imports = [
./system/core.nix ./system/core.nix

View file

@ -54,6 +54,8 @@ in {
# for running wayland apps over ssh # for running wayland apps over ssh
waypipe waypipe
blender
screenshot screenshot
]; ];
}; };

View file

@ -6,6 +6,7 @@
./development ./development
./emacs.nix ./emacs.nix
./firefox.nix ./firefox.nix
./games
./git-ssh.nix ./git-ssh.nix
./hyprlock_idle.nix ./hyprlock_idle.nix
./libinput.nix ./libinput.nix

View file

@ -5,6 +5,9 @@
feh feh
sxiv sxiv
# Chromium browser
ungoogled-chromium
vanilla-dmz vanilla-dmz
whitesur-cursors whitesur-cursors
@ -16,8 +19,6 @@
bitwarden-desktop bitwarden-desktop
bitwarden-cli bitwarden-cli
# Minecraft Launcher
prismlauncher
virt-manager virt-manager
foliate foliate

View file

@ -1,4 +1,48 @@
{pkgs, ...}: { {...}: {
# home.packages = with pkgs; [ # home.packages = with pkgs; [
# ]; # ];
home.file.".cargo/config.toml".text = ''
[unstable]
codegen-backend = true
[profile.dev]
codegen-backend = "cranelift"
[profile.dev.package."*"]
codegen-backend = "llvm"
# Consider compiling deps with cranelift if you want cold-compilation to be faster
# codegen-backend = "cranelift"
# cranelift is `panic = abort`, so you need to compile with llvm to get `#[should_panic]` working
[profile.test.package."*"]
codegen-backend = "llvm"
# Disable cranelift for release profile
[profile.release]
codegen-backend = "llvm"
# cranelift cannot build wasm32-unknown-unknown out of the box
[profile.web]
codegen-backend = "llvm"
[build]
# Using a global target dir allows all projects to share incremental compilation results,
# vastly speeding up cold-compilation of new projects.
target-dir = "/var/code/rust/.cargo/global-target"
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
"-Clink-arg=--ld-path=mold",
# Compile faster
"-Zshare-generics=y",
"-Zthreads=12",
]
rustdocflags = [
# Compile faster
"-Zshare-generics=y",
"-Zthreads=12",
]
'';
} }

View file

@ -21,7 +21,7 @@ in {
libvterm-neovim # vterm support for Emacs libvterm-neovim # vterm support for Emacs
nodejs_24 nodejs_24
copilot-node-server copilot-node-server
copilot-language-server-fhs copilot-language-server
cmake cmake
libtool libtool
gnumake gnumake

6
home/games/default.nix Normal file
View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# Minecraft Launcher
prismlauncher
];
}

View file

@ -1,15 +1,12 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.git = { programs.git = {
enable = true; enable = true;
userName = "janis"; settings = {
userEmail = "janis@nirgendwo.xyz"; user = {
name = "janis";
email = "janis@nirgendwo.xyz";
};
signing = {
format = "ssh";
key = "~/.ssh/duralumin_janis-github";
};
extraConfig = {
init = { init = {
defaultBranch = "main"; defaultBranch = "main";
}; };
@ -20,6 +17,11 @@
gpgsign = "true"; gpgsign = "true";
}; };
}; };
signing = {
format = "ssh";
key = "~/.ssh/duralumin_janis-github";
};
}; };
programs.ssh = { programs.ssh = {
@ -64,10 +66,11 @@
identityFile = "~/.ssh/duralumin_janis-github"; identityFile = "~/.ssh/duralumin_janis-github";
addKeysToAgent = "yes"; addKeysToAgent = "yes";
}; };
"noonebtw.github.com" = { "github-noonebtw" = {
host = "noonebtw.github.com"; host = "github-noonebtw";
hostname = "github.com"; hostname = "github.com";
identityFile = "~/.ssh/id_ed25519_git"; user = "git";
identityFile = "~/.ssh/duralumin_noonebtw-github";
addKeysToAgent = "yes"; addKeysToAgent = "yes";
}; };
}; };

View file

@ -1,5 +1,5 @@
{...}: { {...}: {
imports = [ imports = [
./nordvpn.nix # ./nordvpn.nix
]; ];
} }

View file

@ -19,7 +19,7 @@
]; ];
system = { system = {
stateVersion = "25.05"; stateVersion = "25.11";
activationScripts = { activationScripts = {
rfkill-unblock = { rfkill-unblock = {
text = '' text = ''

View file

@ -1,8 +1,6 @@
{...}: { {...}: {
networking = { networking = {
nameservers = [ "9.9.9.9#dns.quad9.net" "1.1.1.1#one.one.one.one" ]; nameservers = [ "9.9.9.9#dns.quad9.net" "1.1.1.1#one.one.one.one" ];
# networkmanager.wifi.backend = "iwd";
# networkmanager.enable = true;
firewall = { firewall = {
enable = true; enable = true;
@ -16,11 +14,16 @@
}; };
}; };
services.resolved = { services.nordvpn = {
enable = true; enable = true;
dnssec = "true"; users = [ "user" ];
domains = ["~."];
fallbackDns = [ "9.9.9.9#dns.quad9.net" "149.112.112.112#dns.quad9.net" "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
dnsovertls = "true";
}; };
# services.resolved = {
# enable = true;
# dnssec = "true";
# domains = ["~."];
# fallbackDns = [ "9.9.9.9#dns.quad9.net" "149.112.112.112#dns.quad9.net" "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
# dnsovertls = "true";
# };
} }

View file

@ -12,5 +12,14 @@
swtpm.enable = true; swtpm.enable = true;
}; };
}; };
docker = {
enable = true;
# Use the rootless mode - run Docker daemon as non-root user
rootless = {
enable = true;
setSocketVariable = true;
};
};
}; };
} }

View file

@ -12,7 +12,7 @@ in {
home = "/home/${user.username}"; home = "/home/${user.username}";
createHome = true; createHome = true;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "input" "nordvpn" "networkmanager" "libvirtd" ]; extraGroups = [ "wheel" "input" "nordvpn" "networkmanager" "libvirtd" "docker" ];
}; };
programs.zsh.enable = true; programs.zsh.enable = true;

View file

@ -6,6 +6,7 @@ in {
../options.nix ../options.nix
./common.nix ./common.nix
./greetd.nix ./greetd.nix
./steam.nix
]; ];
services.udisks2.enable = true; services.udisks2.enable = true;

8
user/steam.nix Normal file
View file

@ -0,0 +1,8 @@
{...}: {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}