Compare commits

..

3 commits

Author SHA1 Message Date
janis e48e8895f8
updating everything 22.3.26 2026-03-23 10:31:00 +01:00
janis 42dc16c8c8
wsl uesr name 2025-11-29 17:37:41 +01:00
janis 03ba99d9dd update & wsl.nix host 2025-11-19 12:29:59 +00:00
16 changed files with 59 additions and 280 deletions

View file

@ -33,11 +33,11 @@
]
},
"locked": {
"lastModified": 1773889306,
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=",
"lastModified": 1773506317,
"narHash": "sha256-qWKbLUJpavIpvOdX1fhHYm0WGerytFHRoh9lVck6Bh0=",
"owner": "nix-community",
"repo": "disko",
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347",
"rev": "878ec37d6a8f52c6c801d0e2a2ad554c75b9353c",
"type": "github"
},
"original": {
@ -74,11 +74,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1774262056,
"narHash": "sha256-WXu81OceTamUkEX/WufrEqofxztQ30jJbPpY+5e2wfc=",
"lastModified": 1773827727,
"narHash": "sha256-ju4C3oAyUWeEItQKvLvl0ME9FUsHsAJKFo2BJ9i36Jw=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "eedc208a1db00cfdbc75a8689ac1127444930765",
"rev": "73dcf114c2bab0f2bbd8b922beb1c6dafee6846c",
"type": "github"
},
"original": {
@ -104,27 +104,6 @@
}
},
"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": {
"nixpkgs-lib": [
"nur",
@ -145,43 +124,6 @@
"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": {
"inputs": {
"nixpkgs": [
@ -189,11 +131,11 @@
]
},
"locked": {
"lastModified": 1773963144,
"narHash": "sha256-WzBOBfSay3GYilUfKaUa1Mbf8/jtuAiJIedx7fWuIX4=",
"lastModified": 1773681845,
"narHash": "sha256-o8hrZrigP0JYcwnglCp8Zi8jQafWsxbDtRRPzuVwFxY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a91b3ea73a765614d90360580b689c48102d1d33",
"rev": "0759e0e137305bc9d0c52c204c6d8dffe6f601a6",
"type": "github"
},
"original": {
@ -209,11 +151,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1773882647,
"narHash": "sha256-VzcOcE0LLpEnyoxLuMuptZ9ZWCkSBn99bTgEQoz5Viw=",
"lastModified": 1773603777,
"narHash": "sha256-oXSEbMR/IuHYk9nvrbRhaYBxVK5s63DH2UGOZT2ok48=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "fd0eae98d1ecee31024271f8d64676250a386ee7",
"rev": "0efe7af73d6e4a8d447a22936c5526d73822b0a7",
"type": "github"
},
"original": {
@ -241,11 +183,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1773964973,
"narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=",
"lastModified": 1773705440,
"narHash": "sha256-xB30bbAp0e7ogSEYyc126mAJMt4FRFh8wtm6ADE1xuM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25",
"rev": "48652e9d5aea46e555b3df87354280d4f29cd3a3",
"type": "github"
},
"original": {
@ -257,11 +199,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1774106199,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
"lastModified": 1773734432,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558",
"type": "github"
},
"original": {
@ -305,11 +247,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1773734432,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=",
"lastModified": 1773282481,
"narHash": "sha256-b/GV2ysM8mKHhinse2wz+uP37epUrSE+sAKXy/xvBY4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558",
"rev": "fe416aaedd397cacb33a610b33d60ff2b431b127",
"type": "github"
},
"original": {
@ -321,11 +263,11 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1773964973,
"narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=",
"lastModified": 1773705440,
"narHash": "sha256-xB30bbAp0e7ogSEYyc126mAJMt4FRFh8wtm6ADE1xuM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25",
"rev": "48652e9d5aea46e555b3df87354280d4f29cd3a3",
"type": "github"
},
"original": {
@ -337,27 +279,11 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1755027561,
"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=",
"lastModified": 1773734432,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558",
"type": "github"
},
"original": {
@ -367,65 +293,17 @@
"type": "github"
}
},
"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": {
"flake-utils": "flake-utils",
"hercules-ci-effects": "hercules-ci-effects",
"nixpkgs": [
"nixpkgs"
],
"nordvpn-amd64-deb": "nordvpn-amd64-deb",
"nordvpn-arm64-deb": "nordvpn-arm64-deb"
},
"locked": {
"lastModified": 1764175314,
"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"
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1774262207,
"narHash": "sha256-VDjz6p/BMjjqLZJP5YzW5pjlt3s3jJUpVX8fTwU7zAk=",
"lastModified": 1773831707,
"narHash": "sha256-By+BDtmJTKpvZYEQndmIdvDvpk2fjW1/eG5cj8bT0J4=",
"owner": "nix-community",
"repo": "nur",
"rev": "2f17ef721626a9d87acb7f74da31cbb15b452797",
"rev": "afc57b7040ac8dde32ce922c8da264809f55fb43",
"type": "github"
},
"original": {
@ -456,7 +334,6 @@
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_5",
"nixpkgs-unstable": "nixpkgs-unstable",
"nordvpn-flake": "nordvpn-flake",
"nur": "nur"
}
},
@ -576,21 +453,6 @@
"repo": "default",
"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",

View file

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

View file

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

View file

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

View file

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

View file

@ -1,48 +1,4 @@
{...}: {
{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
nodejs_24
copilot-node-server
copilot-language-server
copilot-language-server-fhs
cmake
libtool
gnumake

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,8 @@
{...}: {
networking = {
nameservers = [ "9.9.9.9#dns.quad9.net" "1.1.1.1#one.one.one.one" ];
# networkmanager.wifi.backend = "iwd";
# networkmanager.enable = true;
firewall = {
enable = true;
@ -14,16 +16,11 @@
};
};
services.nordvpn = {
services.resolved = {
enable = true;
users = [ "user" ];
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";
};
# 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,14 +12,5 @@
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}";
createHome = true;
isNormalUser = true;
extraGroups = [ "wheel" "input" "nordvpn" "networkmanager" "libvirtd" "docker" ];
extraGroups = [ "wheel" "input" "nordvpn" "networkmanager" "libvirtd" ];
};
programs.zsh.enable = true;

View file

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

View file

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