File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 outputs = inputs @ {
4343 self ,
4444 nixpkgs ,
45- stylix ,
46- sops-nix ,
4745 darwin ,
4846 ...
4947 } : let
5856 userConfig = import ./lib/user.nix ;
5957
6058 mkSystem = import ./lib/mkSystem.nix {
61- inherit inputs nixpkgs stylix sops-nix userConfig ;
59+ inherit inputs userConfig ;
6260 } ;
6361
6462 treefmtEval =
7068 windy = mkSystem "windy" "x86_64-linux" ;
7169 canoe = nixpkgs . lib . nixosSystem {
7270 system = "x86_64-linux" ;
73- specialArgs = { inherit userConfig ; } ;
71+ specialArgs = { inherit inputs userConfig ; } ;
7472 modules = [ ./hosts/canoe/minimal.nix ] ;
7573 } ;
7674 canoe-cosmic = nixpkgs . lib . nixosSystem {
7775 system = "x86_64-linux" ;
78- specialArgs = { inherit userConfig ; } ;
76+ specialArgs = { inherit inputs userConfig ; } ;
7977 modules = [ ./hosts/canoe/cosmic.nix ] ;
8078 } ;
8179 } ;
Original file line number Diff line number Diff line change 1111
1212 isoImage . edition = "cosmic" ;
1313
14- # cosmic-comp owns the seat; X server would race on tty1.
15- services . xserver . enable = lib . mkForce false ;
14+ services = {
15+ # cosmic-comp owns the seat; X server would race on tty1.
16+ xserver . enable = lib . mkForce false ;
1617
17- services . desktopManager . cosmic . enable = true ;
18+ desktopManager . cosmic . enable = true ;
1819
19- services . greetd = {
20- enable = true ;
21- settings . initial_session = {
22- command = lib . getExe pkgs . cosmic-session ;
23- user = "nixos" ;
20+ greetd = {
21+ enable = true ;
22+ settings . initial_session = {
23+ command = lib . getExe pkgs . cosmic-session ;
24+ user = "nixos" ;
25+ } ;
2426 } ;
2527 } ;
2628}
Original file line number Diff line number Diff line change 7474 home-manager . enable = true ;
7575 nix-ld . enable = true ;
7676 yubikey . enable = true ;
77- sudoReadonly . enable = true ;
77+ "sudo-readonly" . enable = true ;
7878 } ;
7979 } ;
8080
Original file line number Diff line number Diff line change 3838 theme . enable = true ;
3939 nix-ld . enable = true ;
4040 yubikey . enable = true ;
41- sudoReadonly . enable = true ;
41+ "sudo-readonly" . enable = true ;
4242 } ;
4343 } ;
4444
Original file line number Diff line number Diff line change 11{
22 inputs ,
3- nixpkgs ,
4- stylix ,
5- sops-nix ,
63 userConfig ,
74} : hostname : system :
8- nixpkgs . lib . nixosSystem {
5+ inputs . nixpkgs . lib . nixosSystem {
96 inherit system ;
107 specialArgs = {
118 inherit inputs userConfig ;
@@ -14,8 +11,8 @@ nixpkgs.lib.nixosSystem {
1411 modules = [
1512 ../hosts/${ hostname } /configuration.nix
1613 inputs . disko . nixosModules . disko
17- stylix . nixosModules . stylix
18- sops-nix . nixosModules . sops
14+ inputs . stylix . nixosModules . stylix
15+ inputs . sops-nix . nixosModules . sops
1916 ../modules/core/sops.nix
2017 {
2118 nixpkgs . config . allowUnfree = true ;
Original file line number Diff line number Diff line change 55 ...
66} :
77with lib ; let
8- cfg = config . mySystem . core . sudoReadonly ;
8+ cfg = config . mySystem . core . "sudo-readonly" ;
99
1010 bin = "/run/current-system/sw/bin" ;
1111
@@ -51,7 +51,7 @@ with lib; let
5151 "${ bin } /iotop"
5252 ] ;
5353in {
54- options . mySystem . core . sudoReadonly = {
54+ options . mySystem . core . "sudo-readonly" = {
5555 enable = mkEnableOption "NOPASSWD sudo for read-only system diagnostics" ;
5656 } ;
5757
You can’t perform that action at this time.
0 commit comments