Compare commits

..

10 commits

Author SHA1 Message Date
janis f425ff9a43
fix nordpvn-rofi 2026-07-26 18:05:22 +02:00
janis 0a91717541
fix firefox downloadbutotn 2026-07-26 18:05:22 +02:00
janis ac304a7ea0
fix nordvpn (-rofi) 2026-07-26 18:05:19 +02:00
janis 17c606af41
upgrade to 26.05 2026-07-26 18:03:56 +02:00
janis 080e5f7795
nix flake update 2026-07-26 18:03:56 +02:00
janis 86ff2b02d9
ghidra 2026-07-26 18:03:56 +02:00
janis ed7bc4c570
disable cranelift in rust global config 2026-07-26 18:03:56 +02:00
janis a6f6cc6e79
anki 2026-07-26 18:03:56 +02:00
janis 515a1e88ae
try to get rfkill/wifi to behave 2026-07-26 18:03:56 +02:00
janis e34270242c
sioyek pdf reader 2026-07-26 18:03:56 +02:00
12 changed files with 143 additions and 72 deletions

View file

@ -33,11 +33,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773889306, "lastModified": 1781152676,
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=", "narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347", "rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +74,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1774262056, "lastModified": 1785062976,
"narHash": "sha256-WXu81OceTamUkEX/WufrEqofxztQ30jJbPpY+5e2wfc=", "narHash": "sha256-3PQYC0Gm9NfAJbko6JTtFBlujtXWm7L5VZpUVJRu04c=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "eedc208a1db00cfdbc75a8689ac1127444930765", "rev": "ecf4a1a2d40f5cf118e7ffa255212ffba6036151",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -189,16 +189,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773963144, "lastModified": 1784350909,
"narHash": "sha256-WzBOBfSay3GYilUfKaUa1Mbf8/jtuAiJIedx7fWuIX4=", "narHash": "sha256-ZWyzLbS1yKUTeFJLmdVuWNnHttL333/ldJbEE+KzCrM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a91b3ea73a765614d90360580b689c48102d1d33", "rev": "4ce190229c73d44536caa7072f6308fb2d8feeb3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.11", "ref": "release-26.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -209,11 +209,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1773882647, "lastModified": 1784642409,
"narHash": "sha256-VzcOcE0LLpEnyoxLuMuptZ9ZWCkSBn99bTgEQoz5Viw=", "narHash": "sha256-hcbDqFuySAJawljt5r0sKBCJKYnbtGD0T/ZIozH1Dq0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "fd0eae98d1ecee31024271f8d64676250a386ee7", "rev": "eaeb18da90024448a60eb1ec7132eafa4003404e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -241,27 +241,27 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1773964973, "lastModified": 1784856561,
"narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=", "narHash": "sha256-J+Bx1Z6Oeoj2FgnBhRMKyUhhtDoOpTgXYaVLZpDjW4A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25", "rev": "597283ad8aa0b331c788e97c4c262d58877074ef",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.11", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1774106199, "lastModified": 1784796856,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", "narHash": "sha256-wWFrV5/Qbm+lyt5x20E/bSbfJiGKMo4RCxZV8cl/WZI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", "rev": "e2587caef70cea85dd97d7daab492899902dbf5d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -305,11 +305,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1773734432, "lastModified": 1783776592,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=", "narHash": "sha256-UgCQzxeWI75XM8G+hPrPh+MKzEPjG3SpAj7dtqSbksA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558", "rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -321,16 +321,16 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1773964973, "lastModified": 1784856561,
"narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=", "narHash": "sha256-J+Bx1Z6Oeoj2FgnBhRMKyUhhtDoOpTgXYaVLZpDjW4A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25", "rev": "597283ad8aa0b331c788e97c4c262d58877074ef",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.11", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -353,11 +353,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1774106199, "lastModified": 1784796856,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", "narHash": "sha256-wWFrV5/Qbm+lyt5x20E/bSbfJiGKMo4RCxZV8cl/WZI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", "rev": "e2587caef70cea85dd97d7daab492899902dbf5d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -370,25 +370,25 @@
"nordvpn-amd64-deb": { "nordvpn-amd64-deb": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-v2FC8Io9OO4nl8+uKqurLIBmFQB4/LRs4/S+5hU0URY=", "narHash": "sha256-thKXQLibQFJZnmhzOQ9t6cHXhtvAnDp/+17iL2QN8DU=",
"type": "file", "type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.5.0_amd64.deb" "url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_5.2.0_amd64.deb"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.5.0_amd64.deb" "url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_5.2.0_amd64.deb"
} }
}, },
"nordvpn-arm64-deb": { "nordvpn-arm64-deb": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-pdhIp4GLUjmlROk6gp9LPQIggTseoGfD/gxCfWfIAq4=", "narHash": "sha256-+uaBeHdHufzFLZYusySy9oMK3f3+y/wBntAIkic0O+I=",
"type": "file", "type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.5.0_arm64.deb" "url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_5.2.0_arm64.deb"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_4.5.0_arm64.deb" "url": "https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/n/nordvpn/nordvpn_5.2.0_arm64.deb"
} }
}, },
"nordvpn-flake": { "nordvpn-flake": {
@ -402,16 +402,16 @@
"nordvpn-arm64-deb": "nordvpn-arm64-deb" "nordvpn-arm64-deb": "nordvpn-arm64-deb"
}, },
"locked": { "locked": {
"lastModified": 1775296025, "lastModified": 1785076980,
"narHash": "sha256-9gQqoDENQAA0mfGwuYclJFQ1ejjYqRomAX+B19kHSLQ=", "narHash": "sha256-YPTjlQaKCC2Leqej/d1ONI4JC26+zQv3R9zX+p60uDk=",
"owner": "Cody119", "owner": "janis-bhm",
"repo": "nordvpn-flake-updated", "repo": "nordvpn-flake",
"rev": "687ab89edaaa9a40a1dd6b5b13db369e6712cbf8", "rev": "62cdfd932a7259045cc5064796f6a4561164f2b6",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Cody119", "owner": "janis-bhm",
"repo": "nordvpn-flake-updated", "repo": "nordvpn-flake",
"type": "github" "type": "github"
} }
}, },
@ -421,11 +421,11 @@
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1774262207, "lastModified": 1785072147,
"narHash": "sha256-VDjz6p/BMjjqLZJP5YzW5pjlt3s3jJUpVX8fTwU7zAk=", "narHash": "sha256-DSH73PfXqVWYz30Hnx1oeKQUx0w+C2cS3KpVN8BRYrw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "2f17ef721626a9d87acb7f74da31cbb15b452797", "rev": "a89983ca76709019703fec796f038a42172012ab",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,10 +1,10 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.11"; url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
disko = { disko = {
@ -18,7 +18,7 @@
}; };
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:Cody119/nordvpn-flake-updated"; nordvpn-flake.url = "github:janis-bhm/nordvpn-flake";
nordvpn-flake.inputs.nixpkgs.follows = "nixpkgs"; nordvpn-flake.inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -61,10 +61,14 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
config.allowUnfree = true; # Allow unfree packages globally config.allowUnfree = true; # Allow unfree packages globally
config.permittedInsecurePackages = [
"electron-39.8.10"
];
overlays = [ overlays = [
inputs.nur.overlays.default inputs.nur.overlays.default
emacs-overlay.overlays.default emacs-overlay.overlays.default
nordvpn-flake.overlays.default
overlay-unstable overlay-unstable
duralumin.overlays.default duralumin.overlays.default
]; ];

View file

@ -19,7 +19,7 @@ in {
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home = { home = {
stateVersion = "25.11"; stateVersion = "26.05";
homeDirectory = "/home/${user.username}"; homeDirectory = "/home/${user.username}";
username = user.username; username = user.username;

View file

@ -5,6 +5,12 @@
feh feh
sxiv sxiv
# PDF Viewer
sioyek
# Learning
anki-bin
# Chromium browser # Chromium browser
ungoogled-chromium ungoogled-chromium

View file

@ -1,6 +1,10 @@
{...}: { {pkgs, ...}: {
imports = [ imports = [
./nix.nix ./nix.nix
./rust.nix ./rust.nix
]; ];
home.packages = with pkgs; [
ghidra-bin
];
} }

View file

@ -3,28 +3,28 @@
# ]; # ];
home.file.".cargo/config.toml".text = '' home.file.".cargo/config.toml".text = ''
[unstable] # [unstable]
codegen-backend = true # codegen-backend = true
[profile.dev] # [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" # codegen-backend = "cranelift"
# cranelift is `panic = abort`, so you need to compile with llvm to get `#[should_panic]` working # [profile.dev.package."*"]
[profile.test.package."*"] # codegen-backend = "llvm"
codegen-backend = "llvm" # # Consider compiling deps with cranelift if you want cold-compilation to be faster
# # codegen-backend = "cranelift"
# Disable cranelift for release profile # # cranelift is `panic = abort`, so you need to compile with llvm to get `#[should_panic]` working
[profile.release] # [profile.test.package."*"]
codegen-backend = "llvm" # codegen-backend = "llvm"
# cranelift cannot build wasm32-unknown-unknown out of the box # # Disable cranelift for release profile
[profile.web] # [profile.release]
codegen-backend = "llvm" # codegen-backend = "llvm"
# # cranelift cannot build wasm32-unknown-unknown out of the box
# [profile.web]
# codegen-backend = "llvm"
[build] [build]
# Using a global target dir allows all projects to share incremental compilation results, # Using a global target dir allows all projects to share incremental compilation results,

View file

@ -18,6 +18,7 @@ in{
profiles = { profiles = {
default = { default = {
isDefault = true; isDefault = true;
name = "User";
search = { search = {
default = "ddg"; default = "ddg";
@ -45,8 +46,57 @@ in{
"new-tab-button" "new-tab-button"
]; ];
"browser.download.autohideButton" = false;
"browser.uiCustomization.state" = '' "browser.uiCustomization.state" = ''
{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["_04188724-64d3-497b-a4fd-7caffe6eab29_-browser-action"],"nav-bar":["sidebar-button","firefox-view-button","alltabs-button","back-button","forward-button","stop-reload-button","urlbar-container","vertical-spacer","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","unified-extensions-button"],"toolbar-menubar":["menubar-items"],"TabsToolbar":[],"vertical-tabs":["tabbrowser-tabs"],"PersonalToolbar":["import-button","personal-bookmarks"]},"seen":["developer-button","screenshot-button","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","ublock0_raymondhill_net-browser-action","_04188724-64d3-497b-a4fd-7caffe6eab29_-browser-action"],"dirtyAreaCache":["nav-bar","TabsToolbar","vertical-tabs","PersonalToolbar","unified-extensions-area","toolbar-menubar"],"currentVersion":23,"newElementCount":0}''; {
"placements": {
"widget-overflow-fixed-list": [],
"unified-extensions-area": [
"_04188724-64d3-497b-a4fd-7caffe6eab29_-browser-action"
],
"nav-bar": [
"sidebar-button",
"firefox-view-button",
"alltabs-button",
"back-button",
"forward-button",
"stop-reload-button",
"urlbar-container",
"vertical-spacer",
"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action",
"unified-extensions-button",
"downloads-button"
],
"toolbar-menubar": [
"menubar-items"
],
"TabsToolbar": [],
"vertical-tabs": [
"tabbrowser-tabs"
],
"PersonalToolbar": [
"import-button",
"personal-bookmarks"
]
},
"seen": [
"developer-button",
"screenshot-button",
"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action",
"ublock0_raymondhill_net-browser-action",
"_04188724-64d3-497b-a4fd-7caffe6eab29_-browser-action"
],
"dirtyAreaCache": [
"nav-bar",
"TabsToolbar",
"vertical-tabs",
"PersonalToolbar",
"unified-extensions-area",
"toolbar-menubar"
],
"currentVersion": 23,
"newElementCount": 0
}'';
# hardening # hardening
"browser.newtabpage.enabled" = true; "browser.newtabpage.enabled" = true;

View file

@ -52,7 +52,7 @@ SSID: {essid} {frequency}'';
interval = 30; interval = 30;
exec = "${pkgs.nordvpn-rofi}/bin/nordvpn-rofi --status-json"; exec = "${pkgs.nordvpn-rofi}/bin/nordvpn-rofi --status-json";
return-type = "json"; return-type = "json";
on-click = "rofi -show vpn -modes 'vpn:nordvpn-rofi'"; on-click = "rofi -show vpn -modes 'vpn:${pkgs.nordvpn-rofi}/bin/nordvpn-rofi'";
}; };
style = { style = {
connected.color = theme.normal.black; connected.color = theme.normal.black;

View file

@ -1,5 +1,5 @@
final: prev: { final: prev: {
nordvpn = prev.callPackage ./nordvpn.nix {}; # nordvpn = prev.callPackage ./nordvpn.nix {};
nordvpn-rofi = prev.callPackage ./nordvpn-rofi.nix {}; nordvpn-rofi = prev.callPackage ./nordvpn-rofi.nix {};
screenshot = prev.callPackage ./screenshot.nix {}; screenshot = prev.callPackage ./screenshot.nix {};
dotfiles = prev.callPackage ./dotfiles.nix {}; dotfiles = prev.callPackage ./dotfiles.nix {};

View file

@ -14,5 +14,6 @@
# kernelModules = []; # kernelModules = [];
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;
kernelParams = ["rfkill.default_state=1"];
}; };
} }

View file

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

View file

@ -9,6 +9,12 @@
tlp = lib.mkIf (config.has_battery) { tlp = lib.mkIf (config.has_battery) {
enable = true; enable = true;
settings = { settings = {
WIFI_PWR_ON_BAT = "on";
DEVICES_TO_ENABLE_ON_STARTUP = "wifi bluetooth";
DEVICES_TO_DISABLE_ON_STARTUP = "";
DEVICES_TO_DISABLE_ON_AC = "";
DEVICES_TO_DISABLE_ON_BAT = "";
START_CHARGE_THRESH_BAT0 = 50; START_CHARGE_THRESH_BAT0 = 50;
STOP_CHARGE_THRESH_BAT0 = 85; STOP_CHARGE_THRESH_BAT0 = 85;
}; };