Compare commits
5 commits
de95971e8a
...
a714e9a252
Author | SHA1 | Date | |
---|---|---|---|
a714e9a252 | |||
becd8adca6 | |||
639240bd0c | |||
0b7e888f77 | |||
7711077791 |
22 changed files with 165 additions and 84 deletions
102
flake.lock
generated
102
flake.lock
generated
|
@ -33,11 +33,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748532342,
|
"lastModified": 1751403276,
|
||||||
"narHash": "sha256-CvaKOUq8G10sghKpZhEB2UYjJoWhEkrDFggDgi7piUI=",
|
"narHash": "sha256-V0EPQNsQko1a8OqIWc2lLviLnMpR1m08Ej00z5RVTfs=",
|
||||||
"owner": "zhaofengli",
|
"owner": "zhaofengli",
|
||||||
"repo": "attic",
|
"repo": "attic",
|
||||||
"rev": "ce9373715fe3fac7a174a65a7e6d6baeba8cb4f9",
|
"rev": "896ad88fa57ad5dbcd267c0ac51f1b71ccfcb4dd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -163,11 +163,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750618568,
|
"lastModified": 1751313918,
|
||||||
"narHash": "sha256-w9EG5FOXrjXGfbqCcQg9x1lMnTwzNDW5BMXp8ddy15E=",
|
"narHash": "sha256-HsJM3XLa43WpG+665aGEh8iS8AfEwOIQWk3Mke3e7nk=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "1dd19f19e4b53a1fd2e8e738a08dd5fe635ec7e5",
|
"rev": "e04a388232d9a6ba56967ce5b53a8a6f713cdfcf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -422,16 +422,16 @@
|
||||||
"gnome-shell": {
|
"gnome-shell": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744584021,
|
"lastModified": 1748186689,
|
||||||
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
|
"narHash": "sha256-UaD7Y9f8iuLBMGHXeJlRu6U1Ggw5B9JnkFs3enZlap0=",
|
||||||
"owner": "GNOME",
|
"owner": "GNOME",
|
||||||
"repo": "gnome-shell",
|
"repo": "gnome-shell",
|
||||||
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
|
"rev": "8c88f917db0f1f0d80fa55206c863d3746fa18d0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "GNOME",
|
"owner": "GNOME",
|
||||||
"ref": "48.1",
|
"ref": "48.2",
|
||||||
"repo": "gnome-shell",
|
"repo": "gnome-shell",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -464,11 +464,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751146119,
|
"lastModified": 1751760902,
|
||||||
"narHash": "sha256-gvjG95TCnUVJkvQvLMlnC4NqiqFyBdJk3o8/RwuHeaU=",
|
"narHash": "sha256-qBGNn7T/zOgUDQTo/RM/D2oxMkB2x36j3ajvpVanEVs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "76d0c31fce2aa0c71409de953e2f9113acd5b656",
|
"rev": "8b0180dde1d6f4cf632e046309e8f963924dfbd0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -486,11 +486,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748737919,
|
"lastModified": 1751146119,
|
||||||
"narHash": "sha256-5kvBbLYdp+n7Ftanjcs6Nv+UO6sBhelp6MIGJ9nWmjQ=",
|
"narHash": "sha256-gvjG95TCnUVJkvQvLMlnC4NqiqFyBdJk3o8/RwuHeaU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "5675a9686851d9626560052a032c4e14e533c1fa",
|
"rev": "76d0c31fce2aa0c71409de953e2f9113acd5b656",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -509,11 +509,11 @@
|
||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751156047,
|
"lastModified": 1751631393,
|
||||||
"narHash": "sha256-cjBo82cbIyYtwj0b6bjmUsS5Plqko8W50TTAz7awvqs=",
|
"narHash": "sha256-4CVRbeYExqIDpFH+QMZb5IeUGkP6kA/zHSuExYoZygk=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "e1ccbe9abd5042e5622379bcae35a81bfd242330",
|
"rev": "362bfd827f522b57062e4ebcb465bb51941632a4",
|
||||||
"revCount": 18098,
|
"revCount": 18119,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git@git.lix.systems/lix-project/lix"
|
"url": "https://git@git.lix.systems/lix-project/lix"
|
||||||
},
|
},
|
||||||
|
@ -543,11 +543,11 @@
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751141511,
|
"lastModified": 1751341694,
|
||||||
"narHash": "sha256-89z1bdfGxY5sqMyvqNCgqiChfkcHlYZUuAkDjY0JVgw=",
|
"narHash": "sha256-zXag1+8iZC3H5yVFP7KhIi4ps9z8xKrFIkyaeXlZ7Uo=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "nil",
|
"repo": "nil",
|
||||||
"rev": "704192a3aa4653efecd7aa45147e1a32abcb4b97",
|
"rev": "b043bfe1f3f4c4be4b688e24c5ae96e81f525805",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -566,11 +566,11 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751179061,
|
"lastModified": 1751736567,
|
||||||
"narHash": "sha256-E3SA2IZf72CR3wklJM+cF1ZOVjy6r8ZqbsOPXodNjWo=",
|
"narHash": "sha256-/wvCffuHn2eOw6qYyLFm+oButg9Z1dU/BhkHhoRd5z4=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "cc5722e779f3b32bdd918e473777c39da67ab1b6",
|
"rev": "f3b4c3cbb65b690c66ad5ca78f1e88620d4d6cc5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -695,11 +695,11 @@
|
||||||
},
|
},
|
||||||
"nix-hardware": {
|
"nix-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750837715,
|
"lastModified": 1751432711,
|
||||||
"narHash": "sha256-2m1ceZjbmgrJCZ2PuQZaK4in3gcg3o6rZ7WK6dr5vAA=",
|
"narHash": "sha256-136MeWtckSHTN9Z2WRNRdZ8oRP3vyx3L8UxeBYE+J9w=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "98236410ea0fe204d0447149537a924fb71a6d4f",
|
"rev": "497ae1357f1ac97f1aea31a4cb74ad0d534ef41f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -782,11 +782,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750837715,
|
"lastModified": 1751432711,
|
||||||
"narHash": "sha256-2m1ceZjbmgrJCZ2PuQZaK4in3gcg3o6rZ7WK6dr5vAA=",
|
"narHash": "sha256-136MeWtckSHTN9Z2WRNRdZ8oRP3vyx3L8UxeBYE+J9w=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "98236410ea0fe204d0447149537a924fb71a6d4f",
|
"rev": "497ae1357f1ac97f1aea31a4cb74ad0d534ef41f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -876,11 +876,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750969886,
|
"lastModified": 1751582995,
|
||||||
"narHash": "sha256-zW/OFnotiz/ndPFdebpo3X0CrbVNf22n4DjN2vxlb58=",
|
"narHash": "sha256-u7ubvtxdTnFPpV27AHpgoKn7qHuE7sgWgza/1oj5nzA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a676066377a2fe7457369dd37c31fd2263b662f4",
|
"rev": "7a732ed41ca0dd64b4b71b563ab9805a80a7d693",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -955,11 +955,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751011381,
|
"lastModified": 1751637120,
|
||||||
"narHash": "sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM=",
|
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "30e2e2857ba47844aa71991daa6ed1fc678bcbb7",
|
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -971,11 +971,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751011381,
|
"lastModified": 1751637120,
|
||||||
"narHash": "sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM=",
|
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "30e2e2857ba47844aa71991daa6ed1fc678bcbb7",
|
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1002,10 +1002,10 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_9": {
|
"nixpkgs_9": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749794982,
|
"lastModified": 1751011381,
|
||||||
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=",
|
"narHash": "sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM=",
|
||||||
"path": "/nix/store/xnr2xjs0clkhlhqfc3vqcmhnnwdk3c5p-source",
|
"path": "/nix/store/igmrb3hj6wr27ll3nlgjfaawf5jsjvji-source",
|
||||||
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81",
|
"rev": "30e2e2857ba47844aa71991daa6ed1fc678bcbb7",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1190,11 +1190,11 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751145558,
|
"lastModified": 1751769163,
|
||||||
"narHash": "sha256-OPlbpH64jzIspYqvJB96tnN9V9HBlAxROS5ijQwtN70=",
|
"narHash": "sha256-5/fDueotC2qqa5r+1UbOO1p6g1FUhVVb5cR5TwweF4c=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "3a09d3f5cb940fa4142a2f3415b508a8be92b721",
|
"rev": "50ed5ddd1072a6b10e6368cc338d759ffa02df9b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1441,11 +1441,11 @@
|
||||||
"xwayland-satellite-unstable": {
|
"xwayland-satellite-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751176151,
|
"lastModified": 1751228685,
|
||||||
"narHash": "sha256-7bK5eoK0ySlct/cbehTrkGcTcSMOLXSnh+RJiswVzEU=",
|
"narHash": "sha256-MENtauGBhJ+kDeFaawvWGXaFG3Il6qQzjaP0RmtfM0k=",
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"rev": "91d463851e24c190cc912471861b5414ac8fe65c",
|
"rev": "557ebeb616e03d5e4a8049862bbbd1f02c6f020b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -146,11 +146,11 @@
|
||||||
./nixos/configs/dmesg.nix
|
./nixos/configs/dmesg.nix
|
||||||
./nixos/configs/printing.nix
|
./nixos/configs/printing.nix
|
||||||
./nixos/configs/virt-host.nix
|
./nixos/configs/virt-host.nix
|
||||||
|
./nixos/configs/wireshark.nix
|
||||||
./nixos/configs/mount-rsync-kate.nix
|
./nixos/configs/mount-rsync-kate.nix
|
||||||
./nixos/configs/mount-fastmail-tmllc.nix
|
./nixos/configs/mount-fastmail-tmllc.nix
|
||||||
|
|
||||||
./nixos/overlays/fixup-canon.nix
|
./nixos/overlays/fixup-canon.nix
|
||||||
|
|
||||||
#
|
#
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -158,8 +158,6 @@
|
||||||
linuxGuiModuleSet = [
|
linuxGuiModuleSet = [
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
|
|
||||||
./nixos/dotfiles/vscode.nix
|
|
||||||
|
|
||||||
./nixos/packages/gui.nix
|
./nixos/packages/gui.nix
|
||||||
./nixos/packages/wine.nix
|
./nixos/packages/wine.nix
|
||||||
./nixos/packages/flatpak.nix
|
./nixos/packages/flatpak.nix
|
||||||
|
@ -196,6 +194,7 @@
|
||||||
# Modules for offline linux machines.
|
# Modules for offline linux machines.
|
||||||
linuxOfflineModuleSet = [
|
linuxOfflineModuleSet = [
|
||||||
./nixos/packages/offline.nix
|
./nixos/packages/offline.nix
|
||||||
|
./nixos/configs/waydroid.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Helper functions for creating modules in the defintions below.
|
# Helper functions for creating modules in the defintions below.
|
||||||
|
|
|
@ -168,7 +168,7 @@ UseIn=niri'')
|
||||||
services.power-profiles-daemon.enable = lib.mkForce false;
|
services.power-profiles-daemon.enable = lib.mkForce false;
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
hardware.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultTimeout = 10000;
|
defaultTimeout = 10000;
|
||||||
|
|
||||||
|
settings = {
|
||||||
width = 400;
|
width = 400;
|
||||||
height = 200;
|
height = 200;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -146,7 +146,7 @@ in
|
||||||
input = {
|
input = {
|
||||||
|
|
||||||
# Moving focus with the keyboard should move the mouse.
|
# Moving focus with the keyboard should move the mouse.
|
||||||
warp-mouse-to-focus = true;
|
warp-mouse-to-focus.enable = true;
|
||||||
|
|
||||||
touchpad = {
|
touchpad = {
|
||||||
|
|
||||||
|
@ -284,11 +284,11 @@ in
|
||||||
|
|
||||||
"Mod+Q".action = close-window;
|
"Mod+Q".action = close-window;
|
||||||
|
|
||||||
"XF86AudioPrev".action = sh "supersonic -previous";
|
"XF86AudioPrev".action = sh "playerctl previous";
|
||||||
"XF86AudioNext".action = sh "supersonic -next";
|
"XF86AudioNext".action = sh "playerctl next";
|
||||||
"XF86AudioPlay".action = sh "supersonic -play-pause";
|
"XF86AudioPlay".action = sh "playerctl play-pause";
|
||||||
|
|
||||||
"XF86Launch5".action = sh "supersonic -play-pause";
|
"XF86Launch5".action = sh "playerctl play-pause";
|
||||||
|
|
||||||
}
|
}
|
||||||
(binds {
|
(binds {
|
||||||
|
|
|
@ -203,7 +203,7 @@ in
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"clock"
|
"clock"
|
||||||
"clock#otherzone"
|
"clock#otherzone"
|
||||||
"mpd"
|
"mpris"
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"custom/title"
|
"custom/title"
|
||||||
|
@ -364,8 +364,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mpd = {
|
mpris = {
|
||||||
on-click = "mpc toggle";
|
|
||||||
format = "${icons.music.playing} {artist} - {title}";
|
format = "${icons.music.playing} {artist} - {title}";
|
||||||
format-paused = "${icons.music.paused} {artist} - {title}";
|
format-paused = "${icons.music.paused} {artist} - {title}";
|
||||||
format-stopped = "";
|
format-stopped = "";
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
extraRules = ''
|
extraRules = ''
|
||||||
# Brother p-touch cube
|
# Brother p-touch cube
|
||||||
SUBSYSTEM == "usb", ATTRS{idVendor} == "04f9", ATTRS{idProduct} == "20af", MODE = "0666"
|
SUBSYSTEM == "usb", ATTRS{idVendor} == "04f9", ATTRS{idProduct} == "20af", GROUP="plugdev", TAG+="uaccess"
|
||||||
|
|
||||||
# If we have a Apple T2 VHCI, force it to re-start once things are more up.
|
# If we have a Apple T2 VHCI, force it to re-start once things are more up.
|
||||||
# This forces a re-enumeration of the connected devices, and thus makes things like the touch bar work reliably.
|
# This forces a re-enumeration of the connected devices, and thus makes things like the touch bar work reliably.
|
||||||
|
@ -27,7 +27,15 @@
|
||||||
# Digilent waveforms
|
# Digilent waveforms
|
||||||
ACTION=="add", ATTR{idVendor}=="1443", GROUP="plugdev", TAG+="uaccess"
|
ACTION=="add", ATTR{idVendor}=="1443", GROUP="plugdev", TAG+="uaccess"
|
||||||
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", GROUP="plugdev", TAG+="uaccess", RUN+="${waveforms.adept2-runtime}/sbin/dftdrvdtch %s{busnum} %s{devnum}"
|
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", GROUP="plugdev", TAG+="uaccess", RUN+="${waveforms.adept2-runtime}/sbin/dftdrvdtch %s{busnum} %s{devnum}"
|
||||||
|
|
||||||
|
# LibreVNA
|
||||||
|
SUBSYSTEM == "usb", ATTRS{idVendor} == "1209", ATTRS{idProduct} == "4121", GROUP="plugdev", TAG+="uaccess"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.ubertooth = {
|
||||||
|
enable = true;
|
||||||
|
group = "plugdev";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
12
nixos/configs/wireshark.nix
Normal file
12
nixos/configs/wireshark.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# Sets up wireshark.
|
||||||
|
#
|
||||||
|
{ ... }: {
|
||||||
|
programs.wireshark = {
|
||||||
|
enable = true;
|
||||||
|
usbmon.enable = true;
|
||||||
|
dumpcap.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.deprekated.extraGroups = [ "wireshark" ];
|
||||||
|
}
|
|
@ -92,7 +92,9 @@
|
||||||
#
|
#
|
||||||
# Services
|
# Services
|
||||||
#
|
#
|
||||||
services.pcscd.enable = true;
|
services.pcscd = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.mullvad-vpn.enable = true;
|
services.mullvad-vpn.enable = true;
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# libfprint with patches for the GPD-provided reader
|
# libfprint with patches for the GPD-provided reader
|
||||||
libfprint-gpd = pkgs.libfprint.overrideAttrs (prev: {
|
libfprint-gpd =
|
||||||
|
pkgs.libfprint.overrideAttrs
|
||||||
|
(prev: {
|
||||||
version = "git";
|
version = "git";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
@ -34,6 +36,16 @@ let
|
||||||
|
|
||||||
installCheckPhase = "";
|
installCheckPhase = "";
|
||||||
|
|
||||||
|
}).overrideAttrs
|
||||||
|
(prev: rec {
|
||||||
|
version = "1.94.4";
|
||||||
|
src = pkgs.fetchFromGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
owner = "libfprint";
|
||||||
|
repo = "fprintd";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-B2g2d29jSER30OUqCkdk3+Hv5T3DA4SUKoyiqHb8FeU=";
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -48,6 +60,9 @@ in
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
# Allow using our phone as an NFC smartcard reader.
|
||||||
|
services.pcscd.plugins = [ pkgs.vsmartcard-pcsc-relay ];
|
||||||
|
|
||||||
# Networking.
|
# Networking.
|
||||||
networking.hostName = "hinata";
|
networking.hostName = "hinata";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
|
@ -71,6 +71,9 @@
|
||||||
|
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
# Allow the NFC reader on the trackpoint to be used as a smartcard reader.
|
||||||
|
hardware.nfc-nci.enable = true;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Niri configuration for our monitors.
|
# Niri configuration for our monitors.
|
||||||
#
|
#
|
||||||
|
|
|
@ -386,6 +386,25 @@ in
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
# Support bluetooth.
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
General = {
|
||||||
|
|
||||||
|
# Support A2DP.
|
||||||
|
Enable = "Source,Sink,Media,Socket";
|
||||||
|
|
||||||
|
# Enable experimental featurees, like reading device battery levels.
|
||||||
|
Experimental = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
|
|
@ -125,7 +125,6 @@ with pkgs;
|
||||||
unzip
|
unzip
|
||||||
unar
|
unar
|
||||||
unrar
|
unrar
|
||||||
deprekages.vja
|
|
||||||
wget
|
wget
|
||||||
wireshark-cli
|
wireshark-cli
|
||||||
zellij
|
zellij
|
||||||
|
@ -150,6 +149,7 @@ with pkgs;
|
||||||
deprekages.rfe-touch
|
deprekages.rfe-touch
|
||||||
deprekages.rfe-signal
|
deprekages.rfe-signal
|
||||||
deprekages.librevna
|
deprekages.librevna
|
||||||
|
python3Packages.meshtastic
|
||||||
|
|
||||||
# For editors.
|
# For editors.
|
||||||
fish
|
fish
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
appId = "com.github.vikdevelop.photopea_app";
|
appId = "com.github.vikdevelop.photopea_app";
|
||||||
origin = "flathub";
|
origin = "flathub";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
appId = "io.emeric.toolblex";
|
||||||
|
origin = "flathub";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak.overrides = {
|
services.flatpak.overrides = {
|
||||||
|
|
|
@ -83,6 +83,7 @@ with pkgs;
|
||||||
# Media
|
# Media
|
||||||
blender
|
blender
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
playerctl
|
||||||
vlc
|
vlc
|
||||||
|
|
||||||
# Learning
|
# Learning
|
||||||
|
|
|
@ -18,6 +18,7 @@ with pkgs;
|
||||||
|
|
||||||
# Development.
|
# Development.
|
||||||
act
|
act
|
||||||
|
arduino-cli
|
||||||
go
|
go
|
||||||
rustc
|
rustc
|
||||||
bundix
|
bundix
|
||||||
|
@ -42,6 +43,10 @@ with pkgs;
|
||||||
gnuradioPackages.fosphor
|
gnuradioPackages.fosphor
|
||||||
gnuradioPackages.lora_sdr
|
gnuradioPackages.lora_sdr
|
||||||
|
|
||||||
|
# hax
|
||||||
|
btlejack
|
||||||
|
ubertooth
|
||||||
|
|
||||||
# Build systems.
|
# Build systems.
|
||||||
cmake
|
cmake
|
||||||
gnumake
|
gnumake
|
||||||
|
|
|
@ -12,6 +12,9 @@ python3Packages.buildPythonApplication rec {
|
||||||
pname = "oxfs";
|
pname = "oxfs";
|
||||||
version = "0.5.5";
|
version = "0.5.5";
|
||||||
|
|
||||||
|
pyproject = true;
|
||||||
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-iHtUfrf91vr5UOn5vr6679OsGh5xipgbCeCRxluf9Pc=";
|
hash = "sha256-iHtUfrf91vr5UOn5vr6679OsGh5xipgbCeCRxluf9Pc=";
|
||||||
|
|
|
@ -6,7 +6,9 @@
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "svd2py";
|
pname = "svd2py";
|
||||||
version = "1.0.2";
|
version = "1.0.2";
|
||||||
format = "pyproject";
|
|
||||||
|
pyproject = true;
|
||||||
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
|
@ -11,7 +11,10 @@
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "xonsh";
|
pname = "xonsh";
|
||||||
version = xonsh.version;
|
version = xonsh.version;
|
||||||
format = "pyproject";
|
|
||||||
|
pyproject = true;
|
||||||
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
format = null;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
|
|
|
@ -13,7 +13,9 @@ let
|
||||||
in python3Packages.buildPythonPackage rec {
|
in python3Packages.buildPythonPackage rec {
|
||||||
pname = "xontrib_prompt_bar";
|
pname = "xontrib_prompt_bar";
|
||||||
version = "0.5.8";
|
version = "0.5.8";
|
||||||
format = "pyproject";
|
|
||||||
|
pyproject = true;
|
||||||
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
|
@ -20,6 +20,9 @@ in python3Packages.buildPythonPackage rec {
|
||||||
pname = "xontrib_sh";
|
pname = "xontrib_sh";
|
||||||
version = "0.3.1";
|
version = "0.3.1";
|
||||||
|
|
||||||
|
pyproject = true;
|
||||||
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-qIr/VKCdcSBrtz/4ttpxV2i/4D9t3hw1D0AuzGA9DMk=";
|
hash = "sha256-qIr/VKCdcSBrtz/4ttpxV2i/4D9t3hw1D0AuzGA9DMk=";
|
||||||
|
|
|
@ -266,8 +266,7 @@ theme "solarized-dark"
|
||||||
// Require a leader key before we run any commands.
|
// Require a leader key before we run any commands.
|
||||||
default_mode "locked"
|
default_mode "locked"
|
||||||
|
|
||||||
// Uncomment this when we're used enough to the keybinds. :)
|
default_layout "compact"
|
||||||
// default_layout "compact"
|
|
||||||
|
|
||||||
// The folder in which Zellij will look for layouts
|
// The folder in which Zellij will look for layouts
|
||||||
// (Requires restart)
|
// (Requires restart)
|
||||||
|
|
Loading…
Add table
Reference in a new issue