chore: update flakes

This commit is contained in:
Lucien Cartier-Tilet 2025-08-15 21:33:22 +02:00
parent 71623b5964
commit e17cb8f893
36 changed files with 89 additions and 116 deletions

50
flake.lock generated
View File

@ -43,11 +43,11 @@
]
},
"locked": {
"lastModified": 1753300020,
"narHash": "sha256-jRO3ELwG+FfYDBTDDhBJNjGuJjB4IgziuB1JWoz6l1A=",
"lastModified": 1755257397,
"narHash": "sha256-VU+OHexL2y6y7yrpEc6bZvYYwoQg6aZK1b4YxT0yZCk=",
"owner": "cachix",
"repo": "devenv",
"rev": "90266818017f7a6885edc75eb4a13b68862675ea",
"rev": "6f9c3d4722aa253631644329f7bda60b1d3d1b97",
"type": "github"
},
"original": {
@ -167,11 +167,11 @@
]
},
"locked": {
"lastModified": 1753373145,
"narHash": "sha256-UhuUj46dobD/POOdVNxKvAvP3luI2T0MZPm2IXl266Y=",
"lastModified": 1755229570,
"narHash": "sha256-soZegto0xXzG2zYlu/zjknDHv0Z7tRS5EQs+Z/VRTBg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "64796151f79e6f3834bfc55f07c5487708bb5b3f",
"rev": "11626a4383b458f8dc5ea3237eaa04e8ab1912f3",
"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": 1754800038,
"narHash": "sha256-UbLO8/0pVBXLJuyRizYOJigtzQAj8Z2bTnbKSec/wN0=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "fafdcb505ba605157ff7a7eeea452bc6d6cbc23c",
"rev": "b65f8d80656f9fcbd1fecc4b7f0730f468333142",
"type": "github"
},
"original": {
@ -239,11 +239,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1753250450,
"narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=",
"lastModified": 1755186698,
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf",
"rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
"type": "github"
},
"original": {
@ -282,11 +282,11 @@
]
},
"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"
},
@ -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": {

View File

@ -5,7 +5,7 @@
../../system
];
system = {
mySystem = {
boot = {
kernel.hardened = true;
systemd-boot = false;

View File

@ -7,11 +7,10 @@
imports = [
inputs.sops-nix.nixosModules.sops
./hardware-configuration.nix
# ./services
../../system
];
system = {
mySystem = {
boot = {
plymouth.enable = true;
kernel = {

View File

@ -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}=""
'';
};
}

View File

@ -1,11 +0,0 @@
{
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
xkb = {
layout = "fr";
variant = "bepo";
};
};
}

View File

@ -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

View File

@ -9,7 +9,7 @@
./services
];
system = {
mySystem = {
boot = {
kernel = {
hardened = true;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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";

View File

@ -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;

View File

@ -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;
};

View File

@ -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";

View File

@ -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";

View File

@ -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}"

View File

@ -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;

View File

@ -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"

View File

@ -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 IBMs trackpoint on ThinkPad";
options.mySystem.hardware.ibmTrackpoint.disable = mkEnableOption "Disable IBMs 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}=""

View File

@ -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;

View File

@ -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 {

View File

@ -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";

View File

@ -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;

View File

@ -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";
};

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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;

View File

@ -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;

View File

@ -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;
};

View File

@ -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;

View File

@ -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;

View File

@ -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;
};

View File

@ -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;

View File

@ -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;
};
}

View File

@ -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";
};