Compare commits
4 commits
f41fc22c78
...
53894f494a
Author | SHA1 | Date | |
---|---|---|---|
53894f494a | |||
19415ddf40 | |||
488637ff4b | |||
464b987af3 |
5 changed files with 43 additions and 32 deletions
48
flake.lock
48
flake.lock
|
@ -193,11 +193,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729281548,
|
||||
"narHash": "sha256-MuojlSnwAJAwfhgmW8ZtZrwm2Sko4fqubCvReqbUzYw=",
|
||||
"lastModified": 1729588208,
|
||||
"narHash": "sha256-PNONdMd+sG7JWzNIDerX7oVZXL8FTVlSAZ1BmUo2HjE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "a6a3179ddf396dfc28a078e2f169354d0c137125",
|
||||
"rev": "4be2aadf13b67ffbb993deb73adff77c46b728fc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -217,11 +217,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729476442,
|
||||
"narHash": "sha256-GCrI052UegxjdNRKfV6JSrn4pbJb7SsbuEOXCYxfLm4=",
|
||||
"lastModified": 1729588452,
|
||||
"narHash": "sha256-wwkldM3Ru+3aBBibjYi4MskJzkA7BM3YhL/m3a0x58k=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "5d488eec63742aca43fb57a6f805ef282294f3a4",
|
||||
"rev": "dd66a43b14c37c5461bdc4324be3fd32e720c996",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -517,11 +517,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729459288,
|
||||
"narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=",
|
||||
"lastModified": 1729551526,
|
||||
"narHash": "sha256-7LAGY32Xl14OVQp3y6M43/0AtHYYvV6pdyBcp3eoz0s=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e",
|
||||
"rev": "5ec753a1fc4454df9285d8b3ec0809234defb975",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -617,11 +617,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1729455275,
|
||||
"narHash": "sha256-THqzn/7um3oMHUEGXyq+1CJQE7EogwR3HjLMNOlhFBE=",
|
||||
"lastModified": 1729509737,
|
||||
"narHash": "sha256-8OHgqz+tFo21h3hg4/GHizFPws+MMzpEru/+62Z0E8c=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "9fcf30fccf8435f6390efec4a4d38e69c2268a36",
|
||||
"rev": "cc2d3c0e060f981905d52337340ee6ec8b8eb037",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -676,11 +676,11 @@
|
|||
},
|
||||
"nixpkgs-stable_2": {
|
||||
"locked": {
|
||||
"lastModified": 1729181673,
|
||||
"narHash": "sha256-LDiPhQ3l+fBjRATNtnuDZsBS7hqoBtPkKBkhpoBHv3I=",
|
||||
"lastModified": 1729307008,
|
||||
"narHash": "sha256-QUvb6epgKi9pCu9CttRQW4y5NqJ+snKr1FZpG/x3Wtc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4eb33fe664af7b41a4c446f87d20c9a0a6321fa3",
|
||||
"rev": "a9b86fc2290b69375c5542b622088eb6eca2a7c3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -724,11 +724,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1729256560,
|
||||
"narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
|
||||
"lastModified": 1729413321,
|
||||
"narHash": "sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
|
||||
"rev": "1997e4aa514312c1af7e2bda7fad1644e778ff26",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -823,11 +823,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729477859,
|
||||
"narHash": "sha256-r0VyeJxy4O4CgTB/PNtfQft9fPfN1VuGvnZiCxDArvg=",
|
||||
"lastModified": 1729564184,
|
||||
"narHash": "sha256-dP764PQ6YhjY7C84Txnrb2vf0H2YdQlp5c6a7G18fgw=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "ada8266712449c4c0e6ee6fcbc442b3c217c79e1",
|
||||
"rev": "d687672b4541496408068bc273d94c643005d4c9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -844,11 +844,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729394972,
|
||||
"narHash": "sha256-fADlzOzcSaGsrO+THUZ8SgckMMc7bMQftztKFCLVcFI=",
|
||||
"lastModified": 1729587807,
|
||||
"narHash": "sha256-YOc4033a/j1TbdLfkaSOSX2SrvlmuM+enIFoveNTCz4=",
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "c504fd7ac946d7a1b17944d73b261ca0a0b226a5",
|
||||
"rev": "26642e8f193f547e72d38cd4c0c4e45b49236d27",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -27,7 +27,6 @@ let
|
|||
"experiments.manifest.uri" = "";
|
||||
"experiments.supported" = false;
|
||||
"extensions.quarantinedDomains.enabled" = false;
|
||||
"gfx.webrender.all" = true;
|
||||
"image.avif.enabled" = true;
|
||||
"image.webp.enabled" = true;
|
||||
"media.ffmpeg.vaapi.enabled" = true;
|
||||
|
@ -125,6 +124,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
home.packages = [ nonDefaultDesktop ];
|
||||
home.packages = [
|
||||
nonDefaultDesktop
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,6 +13,14 @@ in
|
|||
enable = mkEnableOption "Enable waybar";
|
||||
sway = mkEnableOption "sway";
|
||||
river = mkEnableOption "river";
|
||||
profile = mkOption {
|
||||
description = "";
|
||||
type = types.enum [
|
||||
"home"
|
||||
"work"
|
||||
];
|
||||
default = "home";
|
||||
};
|
||||
|
||||
cpuTempPath = mkOption {
|
||||
description = "The path to the CPU temperature sensor in sysfs";
|
||||
|
@ -41,8 +49,10 @@ in
|
|||
"sway/workspaces"
|
||||
"sway/mode"
|
||||
]
|
||||
++ [ "custom/now_playing" ];
|
||||
++ lib.optional (cfg.profile == "home") "custom/now_playing";
|
||||
|
||||
modules-center = (lib.optional cfg.sway "sway/window") ++ (lib.optional cfg.river "river/window");
|
||||
|
||||
modules-right = [
|
||||
"network"
|
||||
"memory"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
nixos-hardware,
|
||||
attic,
|
||||
...
|
||||
}:
|
||||
{ pkgs, config, ... }:
|
||||
|
@ -11,8 +10,6 @@
|
|||
nixos-hardware.nixosModules.common-cpu-amd-pstate
|
||||
nixos-hardware.nixosModules.common-pc-ssd
|
||||
|
||||
attic.nixosModules.atticd
|
||||
|
||||
../../users/erwin
|
||||
../../users/root
|
||||
];
|
||||
|
@ -209,7 +206,6 @@
|
|||
|
||||
firewall = {
|
||||
trustedInterfaces = [
|
||||
"lo"
|
||||
"tailscale0"
|
||||
"enp5s0f1"
|
||||
];
|
||||
|
@ -310,7 +306,10 @@
|
|||
Name = "enp5s0f1";
|
||||
};
|
||||
|
||||
addresses = [ { Address = "10.42.0.1/24"; } ];
|
||||
addresses = [
|
||||
{ Address = "10.42.0.1/24"; }
|
||||
{ Address = "192.168.42.10/24"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -167,6 +167,7 @@ in
|
|||
waybar = {
|
||||
enable = true;
|
||||
sway = true;
|
||||
profile = "work";
|
||||
cpuTempPath = "/sys/class/hwmon/hwmon1/temp2_input";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue