chore: update flakes
This commit is contained in:
		
							parent
							
								
									71623b5964
								
							
						
					
					
						commit
						84ab691a7f
					
				
							
								
								
									
										54
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										54
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							@ -43,11 +43,11 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1753300020,
 | 
			
		||||
        "narHash": "sha256-jRO3ELwG+FfYDBTDDhBJNjGuJjB4IgziuB1JWoz6l1A=",
 | 
			
		||||
        "lastModified": 1755961020,
 | 
			
		||||
        "narHash": "sha256-Fs0CWiUA78Qgbc9zVk+zUN7pEkMPffnd//JsDtUUWBM=",
 | 
			
		||||
        "owner": "cachix",
 | 
			
		||||
        "repo": "devenv",
 | 
			
		||||
        "rev": "90266818017f7a6885edc75eb4a13b68862675ea",
 | 
			
		||||
        "rev": "abb198476023189fc45a01bd6502f5ca6ea62bd0",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
@ -167,11 +167,11 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1753373145,
 | 
			
		||||
        "narHash": "sha256-UhuUj46dobD/POOdVNxKvAvP3luI2T0MZPm2IXl266Y=",
 | 
			
		||||
        "lastModified": 1755914636,
 | 
			
		||||
        "narHash": "sha256-VJ+Gm6YsHlPfUCpmRQxvdiZW7H3YPSrdVOewQHAhZN8=",
 | 
			
		||||
        "owner": "nix-community",
 | 
			
		||||
        "repo": "home-manager",
 | 
			
		||||
        "rev": "64796151f79e6f3834bfc55f07c5487708bb5b3f",
 | 
			
		||||
        "rev": "8b55a6ac58b678199e5bba701aaff69e2b3281c0",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
@ -203,11 +203,11 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1752773918,
 | 
			
		||||
        "narHash": "sha256-dOi/M6yNeuJlj88exI+7k154z+hAhFcuB8tZktiW7rg=",
 | 
			
		||||
        "lastModified": 1755029779,
 | 
			
		||||
        "narHash": "sha256-3+GHIYGg4U9XKUN4rg473frIVNn8YD06bjwxKS1IPrU=",
 | 
			
		||||
        "owner": "cachix",
 | 
			
		||||
        "repo": "nix",
 | 
			
		||||
        "rev": "031c3cf42d2e9391eee373507d8c12e0f9606779",
 | 
			
		||||
        "rev": "b0972b0eee6726081d10b1199f54de6d2917f861",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
@ -224,11 +224,11 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1752985182,
 | 
			
		||||
        "narHash": "sha256-sX8Neff8lp3TCHai6QmgLr5AD8MdsQQX3b52C1DVXR8=",
 | 
			
		||||
        "lastModified": 1755404379,
 | 
			
		||||
        "narHash": "sha256-Q6ZxZDBmD/B988Jjbx7/NchxOKIpOKBBrx9Yb0zMzpQ=",
 | 
			
		||||
        "owner": "nix-community",
 | 
			
		||||
        "repo": "nix-index-database",
 | 
			
		||||
        "rev": "fafdcb505ba605157ff7a7eeea452bc6d6cbc23c",
 | 
			
		||||
        "rev": "ebbc1c05f786ae39bb5e04e57bf2c10c44a649e3",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
@ -239,11 +239,11 @@
 | 
			
		||||
    },
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1753250450,
 | 
			
		||||
        "narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=",
 | 
			
		||||
        "lastModified": 1755615617,
 | 
			
		||||
        "narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=",
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf",
 | 
			
		||||
        "rev": "20075955deac2583bb12f07151c2df830ef346b4",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
@ -282,17 +282,17 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1753335654,
 | 
			
		||||
        "narHash": "sha256-XpegouCfuzYNECDpH0+J3UEdearlYhRkRgOZ97l16E8=",
 | 
			
		||||
        "lastModified": 1753595452,
 | 
			
		||||
        "narHash": "sha256-vqkSDvh7hWhPvNjMjEDV4KbSCv2jyl2Arh73ZXe274k=",
 | 
			
		||||
        "ref": "refs/heads/master",
 | 
			
		||||
        "rev": "f90bef2d994c88f075dbc2fcd81140e160351328",
 | 
			
		||||
        "revCount": 654,
 | 
			
		||||
        "rev": "a5431dd02dc23d9ef1680e67777fed00fe5f7cda",
 | 
			
		||||
        "revCount": 665,
 | 
			
		||||
        "type": "git",
 | 
			
		||||
        "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
 | 
			
		||||
        "url": "https://git.outfoxxed.me/quickshell/quickshell"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "type": "git",
 | 
			
		||||
        "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
 | 
			
		||||
        "url": "https://git.outfoxxed.me/quickshell/quickshell"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "root": {
 | 
			
		||||
@ -335,11 +335,11 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1752544651,
 | 
			
		||||
        "narHash": "sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U=",
 | 
			
		||||
        "lastModified": 1754988908,
 | 
			
		||||
        "narHash": "sha256-t+voe2961vCgrzPFtZxha0/kmFSHFobzF00sT8p9h0U=",
 | 
			
		||||
        "owner": "Mic92",
 | 
			
		||||
        "repo": "sops-nix",
 | 
			
		||||
        "rev": "2c8def626f54708a9c38a5861866660395bb3461",
 | 
			
		||||
        "rev": "3223c7a92724b5d804e9988c6b447a0d09017d48",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
@ -370,11 +370,11 @@
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1752725859,
 | 
			
		||||
        "narHash": "sha256-kjpmc7Y164ajPdscAZLFQTtzXP5sEE2dR30NuHe5lQY=",
 | 
			
		||||
        "lastModified": 1754886070,
 | 
			
		||||
        "narHash": "sha256-MZDmxOkVKL1HY72bliN8Gxh0SYkHUa3W/1fTU2ke36I=",
 | 
			
		||||
        "owner": "youwen5",
 | 
			
		||||
        "repo": "zen-browser-flake",
 | 
			
		||||
        "rev": "2276ddce91a949e0819d9e8c4b171c40ce770390",
 | 
			
		||||
        "rev": "e37d2b326311320c8571111b3ef89b29d26d4b64",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
 | 
			
		||||
@ -25,7 +25,7 @@
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    quickshell = {
 | 
			
		||||
      url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
 | 
			
		||||
      url = "git+https://git.outfoxxed.me/quickshell/quickshell";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@
 | 
			
		||||
    ../../system
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  system = {
 | 
			
		||||
  mySystem = {
 | 
			
		||||
    boot = {
 | 
			
		||||
      kernel.hardened = true;
 | 
			
		||||
      systemd-boot = false;
 | 
			
		||||
 | 
			
		||||
@ -7,11 +7,10 @@
 | 
			
		||||
  imports = [
 | 
			
		||||
    inputs.sops-nix.nixosModules.sops
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
    # ./services
 | 
			
		||||
    ../../system
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  system = {
 | 
			
		||||
  mySystem = {
 | 
			
		||||
    boot = {
 | 
			
		||||
      plymouth.enable = true;
 | 
			
		||||
      kernel = {
 | 
			
		||||
 | 
			
		||||
@ -1,15 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  # imports = [
 | 
			
		||||
  #   ./gnome.nix
 | 
			
		||||
  # ];
 | 
			
		||||
 | 
			
		||||
  services = {
 | 
			
		||||
    # Enable CUPS to print documents.
 | 
			
		||||
    printing.enable = true;
 | 
			
		||||
    openssh.enable = true;
 | 
			
		||||
    fwupd.enable = true;
 | 
			
		||||
    udev.extraRules = ''
 | 
			
		||||
      ATTRS{name}=="*TPPS/2 IBM TrackPoint", ENV{ID_INPUT}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_POINTINGSTICK}=""
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -1,11 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  services.xserver = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    displayManager.gdm.enable = true;
 | 
			
		||||
    desktopManager.gnome.enable = true;
 | 
			
		||||
    xkb = {
 | 
			
		||||
      layout = "fr";
 | 
			
		||||
      variant = "bepo";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -5,11 +5,11 @@
 | 
			
		||||
}: {
 | 
			
		||||
  imports = [
 | 
			
		||||
    inputs.sops-nix.nixosModules.sops
 | 
			
		||||
    ./system/hardware-configuration.nix
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
    ../../system
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  system = {
 | 
			
		||||
  mySystem = {
 | 
			
		||||
    boot = {
 | 
			
		||||
      extraModprobeConfig = ''
 | 
			
		||||
        options snd_usb_audio vid=0x1235 pid=0x8212 device_setup=1
 | 
			
		||||
 | 
			
		||||
@ -9,7 +9,7 @@
 | 
			
		||||
    ./services
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  system = {
 | 
			
		||||
  mySystem = {
 | 
			
		||||
    boot = {
 | 
			
		||||
      kernel = {
 | 
			
		||||
        hardened = true;
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.boot;
 | 
			
		||||
  cfg = config.mySystem.boot;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.boot = {
 | 
			
		||||
  options.mySystem.boot = {
 | 
			
		||||
    extraModprobeConfig = mkOption {
 | 
			
		||||
      type = types.lines;
 | 
			
		||||
      default = "";
 | 
			
		||||
@ -51,7 +51,7 @@ in {
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  config.boot = {
 | 
			
		||||
    initrd.kernelModules = lists.optional config.system.hardware.amdgpu.enable "amdgpu";
 | 
			
		||||
    initrd.kernelModules = lists.optional config.mySystem.hardware.amdgpu.enable "amdgpu";
 | 
			
		||||
    loader = {
 | 
			
		||||
      systemd-boot.enable = cfg.systemd-boot;
 | 
			
		||||
      efi.canTouchEfiVariables = cfg.systemd-boot;
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.boot.plymouth;
 | 
			
		||||
  cfg = config.mySystem.boot.plymouth;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.boot.plymouth.enable = mkEnableOption "Enables Plymouth at system boot";
 | 
			
		||||
  options.mySystem.boot.plymouth.enable = mkEnableOption "Enables Plymouth at system boot";
 | 
			
		||||
  config.boot = mkIf cfg.enable {
 | 
			
		||||
    plymouth = {
 | 
			
		||||
      inherit (cfg) enable;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.boot.zram;
 | 
			
		||||
  cfg = config.mySystem.boot.zram;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.boot.zram = {
 | 
			
		||||
  options.mySystem.boot.zram = {
 | 
			
		||||
    enable = mkEnableOption "Enable ZRAM";
 | 
			
		||||
    memoryMax = mkOption {
 | 
			
		||||
      type = types.int;
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,7 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.misc;
 | 
			
		||||
  cfg = config.mySystem.misc;
 | 
			
		||||
in {
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./boot
 | 
			
		||||
@ -19,7 +19,7 @@ in {
 | 
			
		||||
    ./users
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  options.system.misc = {
 | 
			
		||||
  options.mySystem.misc = {
 | 
			
		||||
    timezone = mkOption {
 | 
			
		||||
      type = types.str;
 | 
			
		||||
      default = "Europe/Paris";
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.desktop.hyprland;
 | 
			
		||||
  cfg = config.mySystem.desktop.hyprland;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.desktop.hyprland.enable = mkEnableOption "Enables Hyprland";
 | 
			
		||||
  options.mySystem.desktop.hyprland.enable = mkEnableOption "Enables Hyprland";
 | 
			
		||||
  config.programs.hyprland = mkIf cfg.enable {
 | 
			
		||||
    inherit (cfg) enable;
 | 
			
		||||
    withUWSM = true;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.desktop.niri;
 | 
			
		||||
  cfg = config.mySystem.desktop.niri;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.desktop.niri.enable = mkEnableOption "Enables Niri";
 | 
			
		||||
  options.mySystem.desktop.niri.enable = mkEnableOption "Enables Niri";
 | 
			
		||||
  config.programs.niri = mkIf cfg.enable {
 | 
			
		||||
    inherit (cfg) enable;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.desktop.xserver;
 | 
			
		||||
  cfg = config.mySystem.desktop.xserver;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.desktop.xserver = {
 | 
			
		||||
  options.mySystem.desktop.xserver = {
 | 
			
		||||
    enable = mkEnableOption "Enables xserver";
 | 
			
		||||
    de = mkOption {
 | 
			
		||||
      type = types.enum ["gnome" "kde"];
 | 
			
		||||
@ -35,7 +35,7 @@ in {
 | 
			
		||||
 | 
			
		||||
    xserver = {
 | 
			
		||||
      inherit (cfg) enable;
 | 
			
		||||
      videoDrivers = lists.optional config.system.hardware.amdgpu.enable "amdgpu";
 | 
			
		||||
      videoDrivers = lists.optional config.mySystem.hardware.amdgpu.enable "amdgpu";
 | 
			
		||||
      xkb = {
 | 
			
		||||
        layout = "fr";
 | 
			
		||||
        variant = "bepo_afnor";
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.dev.docker;
 | 
			
		||||
  cfg = config.mySystem.dev.docker;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.dev.docker = {
 | 
			
		||||
  options.mySystem.dev.docker = {
 | 
			
		||||
    enable = mkEnableOption "Enable Docker";
 | 
			
		||||
    podman.enable = mkEnableOption "Enable Podman rather than Docker";
 | 
			
		||||
    nvidia.enable = mkEnableOption "Activate Nvidia support";
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.hardware.amdgpu;
 | 
			
		||||
  cfg = config.mySystem.hardware.amdgpu;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.hardware.amdgpu.enable = mkEnableOption "Enables an AMD GPU configuration";
 | 
			
		||||
  options.mySystem.hardware.amdgpu.enable = mkEnableOption "Enables an AMD GPU configuration";
 | 
			
		||||
  config = mkIf cfg.enable {
 | 
			
		||||
    systemd.tmpfiles.rules = [
 | 
			
		||||
      "L+    /opt/rocm/hip   -    -    -     -    ${pkgs.rocmPackages.clr}"
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.hardware.bluetooth;
 | 
			
		||||
  cfg = config.mySystem.hardware.bluetooth;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.hardware.bluetooth.enable = mkEnableOption "Enable bluetooth";
 | 
			
		||||
  options.mySystem.hardware.bluetooth.enable = mkEnableOption "Enable bluetooth";
 | 
			
		||||
  config = mkIf cfg.enable {
 | 
			
		||||
    hardware.bluetooth.enable = cfg.enable;
 | 
			
		||||
    services.blueman.enable = cfg.enable;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.hardware.corne;
 | 
			
		||||
  cfg = config.mySystem.hardware.corne;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.hardware.corne.allowHidAccess = mkEnableOption "Enable HID access to the corne keyboard";
 | 
			
		||||
  options.mySystem.hardware.corne.allowHidAccess = mkEnableOption "Enable HID access to the corne keyboard";
 | 
			
		||||
  config.services.udev = mkIf cfg.allowHidAccess {
 | 
			
		||||
    extraRules = ''
 | 
			
		||||
      KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.hardware.ibmTrackpoint;
 | 
			
		||||
  cfg = config.mySystem.hardware.ibmTrackpoint;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.hardware.ibmTrackpoint.disable = mkEnableOption "Disable IBM’s trackpoint on ThinkPad";
 | 
			
		||||
  options.mySystem.hardware.ibmTrackpoint.disable = mkEnableOption "Disable IBM’s trackpoint on ThinkPad";
 | 
			
		||||
  config.services.udev = mkIf cfg.disable {
 | 
			
		||||
    extraRules = ''
 | 
			
		||||
      ATTRS{name}=="*TPPS/2 IBM TrackPoint", ENV{ID_INPUT}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_POINTINGSTICK}=""
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.hardware.opentablet;
 | 
			
		||||
  cfg = config.mySystem.hardware.opentablet;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.hardware.opentablet.enable = mkEnableOption "Enables OpenTablet drivers";
 | 
			
		||||
  options.mySystem.hardware.opentablet.enable = mkEnableOption "Enables OpenTablet drivers";
 | 
			
		||||
  config.hardware.opentabletdriver = mkIf cfg.enable {
 | 
			
		||||
    inherit (cfg) enable;
 | 
			
		||||
    daemon.enable = true;
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.hardware.sound;
 | 
			
		||||
  cfg = config.mySystem.hardware.sound;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.hardware.sound = {
 | 
			
		||||
  options.mySystem.hardware.sound = {
 | 
			
		||||
    enable = mkEnableOption "Whether to enable sounds with Pipewire";
 | 
			
		||||
    scarlett.enable = mkEnableOption "Activate support for Scarlett sound card";
 | 
			
		||||
    alsa = mkOption {
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.networking;
 | 
			
		||||
  cfg = config.mySystem.networking;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.networking = with types; {
 | 
			
		||||
  options.mySystem.networking = with types; {
 | 
			
		||||
    hostname = mkOption {
 | 
			
		||||
      type = str;
 | 
			
		||||
      example = "gampo";
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.packages.appimage;
 | 
			
		||||
  cfg = config.mySystem.packages.appimage;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.packages.appimage.enable = mkEnableOption "Enables AppImage support";
 | 
			
		||||
  options.mySystem.packages.appimage.enable = mkEnableOption "Enables AppImage support";
 | 
			
		||||
  config.programs.appimage = mkIf cfg.enable {
 | 
			
		||||
    inherit (cfg) enable;
 | 
			
		||||
    binfmt = true;
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.packages.flatpak;
 | 
			
		||||
  cfg = config.mySystem.packages.flatpak;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.packages.flatpak = {
 | 
			
		||||
  options.mySystem.packages.flatpak = {
 | 
			
		||||
    enable = mkEnableOption "Enable Flatpak support";
 | 
			
		||||
    builder.enable = mkEnableOption "Enable Flatpak builder";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.packages.nix;
 | 
			
		||||
  cfg = config.mySystem.packages.nix;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.packages.nix = {
 | 
			
		||||
  options.mySystem.packages.nix = {
 | 
			
		||||
    allowUnfree = mkEnableOption "Enable unfree packages";
 | 
			
		||||
    disableSandbox = mkEnableOption "Disable Nix sandbox";
 | 
			
		||||
    gc = {
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.programs.steam;
 | 
			
		||||
  cfg = config.mySystem.programs.steam;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.programs.steam.enable = mkEnableOption "Enables Steam and Steam hardware";
 | 
			
		||||
  options.mySystem.programs.steam.enable = mkEnableOption "Enables Steam and Steam hardware";
 | 
			
		||||
  config = mkIf cfg.enable {
 | 
			
		||||
    programs = {
 | 
			
		||||
      steam = {
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.calibre;
 | 
			
		||||
  cfg = config.mySystem.services.calibre;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.calibre = {
 | 
			
		||||
  options.mySystem.services.calibre = {
 | 
			
		||||
    enable = mkEnableOption "Enable Calibre Web";
 | 
			
		||||
    user = mkOption {
 | 
			
		||||
      type = types.string;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.endlessh;
 | 
			
		||||
  cfg = config.mySystem.services.endlessh;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.endlessh = {
 | 
			
		||||
  options.mySystem.services.endlessh = {
 | 
			
		||||
    enable = mkEnableOption "Enables endlessh.";
 | 
			
		||||
    port = mkOption {
 | 
			
		||||
      type = types.port;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.fwupd;
 | 
			
		||||
  cfg = config.mySystem.services.fwupd;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.fwupd.enable = mkEnableOption "Enable fwupd";
 | 
			
		||||
  options.mySystem.services.fwupd.enable = mkEnableOption "Enable fwupd";
 | 
			
		||||
  config.services.fwupd = mkIf cfg.enable {
 | 
			
		||||
    inherit (cfg) enable;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.jellyfin;
 | 
			
		||||
  cfg = config.mySystem.services.jellyfin;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.jellyfin = {
 | 
			
		||||
  options.mySystem.services.jellyfin = {
 | 
			
		||||
    enable = mkEnableOption "Enable Jellyfin";
 | 
			
		||||
    dataDir = mkOption {
 | 
			
		||||
      type = types.string;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.plex;
 | 
			
		||||
  cfg = config.mySystem.services.plex;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.plex = {
 | 
			
		||||
  options.mySystem.services.plex = {
 | 
			
		||||
    enable = mkEnableOption "Enable Plex";
 | 
			
		||||
    group = mkOption {
 | 
			
		||||
      type = types.string;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.printing;
 | 
			
		||||
  cfg = config.mySystem.services.printing;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.printing.enable = mkEnableOption "Enable printing with CUPS";
 | 
			
		||||
  options.mySystem.services.printing.enable = mkEnableOption "Enable printing with CUPS";
 | 
			
		||||
  config.services.printing = mkIf cfg.enable {
 | 
			
		||||
    inherit (cfg) enable;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.ssh;
 | 
			
		||||
  cfg = config.mySystem.services.ssh;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.ssh = {
 | 
			
		||||
  options.mySystem.services.ssh = {
 | 
			
		||||
    enable = mkEnableOption "Enables OpenSSH";
 | 
			
		||||
    allowedUsers = mkOption {
 | 
			
		||||
      type = types.listOf types.str;
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.services.sunshine;
 | 
			
		||||
  cfg = config.mySystem.services.sunshine;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.services.sunshine = {
 | 
			
		||||
  options.mySystem.services.sunshine = {
 | 
			
		||||
    enable = mkEnableOption "Enables Sunshine";
 | 
			
		||||
    autostart = mkEnableOption "Enables autostart";
 | 
			
		||||
  };
 | 
			
		||||
@ -15,6 +15,6 @@ in {
 | 
			
		||||
    autoStart = cfg.autostart;
 | 
			
		||||
    capSysAdmin = true;
 | 
			
		||||
    openFirewall = true;
 | 
			
		||||
    settings.sunshine_name = config.system.networking.hostname;
 | 
			
		||||
    settings.sunshine_name = config.mySystem.networking.hostname;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
with lib; let
 | 
			
		||||
  cfg = config.system.users;
 | 
			
		||||
  cfg = config.mySystem.users;
 | 
			
		||||
in {
 | 
			
		||||
  options.system.users = {
 | 
			
		||||
  options.mySystem.users = {
 | 
			
		||||
    root.disablePassword = mkEnableOption "Disables root password";
 | 
			
		||||
    phundrak.enable = mkEnableOption "Enables users phundrak";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@ -54,6 +54,7 @@ with lib; {
 | 
			
		||||
    openmw
 | 
			
		||||
    openttd-jgrpp
 | 
			
		||||
    moonlight-qt
 | 
			
		||||
    modrinth-app
 | 
			
		||||
 | 
			
		||||
    # Gnome stuff
 | 
			
		||||
    gnome-tweaks
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user