my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

treewide: specific lib

isabel 2fa1f699 d65d7141

+184 -204
+1 -1
home/default.nix
··· 8 8 ... 9 9 }: 10 10 let 11 - inherit (lib) genAttrs; 11 + inherit (lib.attrsets) genAttrs; 12 12 in 13 13 { 14 14 home-manager = {
+1 -1
home/isabel/cli/fzf.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) getExe; 8 + inherit (lib.meta) getExe; 9 9 in 10 10 { 11 11 programs.fzf = {
+1 -1
home/isabel/cli/git.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkIf map mkMerge; 9 + inherit (lib.modules) mkIf mkMerge; 10 10 inherit (lib.hm.dag) entryBefore; 11 11 inherit (self.lib) giturl; 12 12 in
+1 -1
home/isabel/cli/shell/fish.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) optionalString; 8 + inherit (lib.strings) optionalString; 9 9 in 10 10 { 11 11 sops = {
+1 -1
home/isabel/cli/shell/zsh.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkOrder; 3 + inherit (lib.modules) mkOrder; 4 4 in 5 5 { 6 6 programs.zsh = {
+1 -1
home/isabel/cli/starship.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) concatStrings; 3 + inherit (lib.strings) concatStrings; 4 4 5 5 fmt = symbol: { 6 6 inherit symbol;
+3 -6
home/isabel/gui/chromium.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 9 - mkIf 10 - concatLists 11 - concatMapStrings 12 - enableFeature 13 - ; 8 + inherit (lib.lists) concatLists; 9 + inherit (lib.modules) mkIf; 10 + inherit (lib.strings) concatMapStrings enableFeature; 14 11 in 15 12 { 16 13 programs.chromium = {
+5 -9
home/isabel/gui/hyprland.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) 10 - length 11 - optionalString 9 + inherit (lib.attrsets) attrNames attrValues; 10 + inherit (lib.lists) 12 11 elemAt 13 12 genList 14 13 concatLists 15 14 imap0 16 - concatLines 17 - mod 18 - attrNames 19 - attrValues 20 15 foldl' 21 - min 22 - id 16 + length 23 17 ; 18 + inherit (lib.strings) optionalString concatLines; 19 + inherit (lib.trivial) mod min id; 24 20 25 21 inherit (config.garden.programs) defaults; 26 22 inherit (osConfig.garden.device) monitors keyboard;
+1 -1
home/isabel/gui/media/listening.nix
··· 7 7 ... 8 8 }: 9 9 let 10 - inherit (lib) mkIf; 10 + inherit (lib.modules) mkIf; 11 11 12 12 spicePkgs = inputs'.spicetify.legacyPackages; 13 13 in
+1 -1
home/isabel/gui/media/watching.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkMerge; 8 + inherit (lib.modules) mkIf mkMerge; 9 9 inherit (pkgs.stdenv.hostPlatform) isLinux; 10 10 in 11 11 {
+1 -1
home/isabel/packages.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) optionalAttrs mergeAttrsList; 9 + inherit (lib.attrsets) optionalAttrs mergeAttrsList; 10 10 inherit (pkgs.stdenv.hostPlatform) isLinux; 11 11 12 12 cfg = config.garden.profiles;
+1 -1
home/isabel/services/rnnoise.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 in 10 10 { 11 11 config = mkIf (config.garden.profiles.graphical.enable && pkgs.stdenv.hostPlatform.isLinux) {
+1 -1
home/isabel/services/tray.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkIf; 7 + inherit (lib.modules) mkIf; 8 8 in 9 9 { 10 10 config = mkIf config.garden.profiles.graphical.enable {
+1 -1
home/isabel/themes/gtk.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkIf; 9 + inherit (lib.modules) mkIf; 10 10 cfg = config.garden.style; 11 11 ctp = config.catppuccin; 12 12
+1 -1
home/isabel/themes/qt.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 in 10 10 { 11 11 config = mkIf (config.garden.profiles.graphical.enable && pkgs.stdenv.hostPlatform.isLinux) {
+2 -6
modules/base/nix/nix.nix
··· 7 7 ... 8 8 }: 9 9 let 10 - inherit (lib) 11 - filterAttrs 12 - attrValues 13 - mapAttrs 14 - mkForce 15 - ; 10 + inherit (lib.attrsets) filterAttrs attrValues mapAttrs; 11 + inherit (lib.modules) mkForce; 16 12 inherit (lib.types) isType; 17 13 18 14 flakeInputs = filterAttrs (name: value: (isType "flake" value) && (name != "self")) inputs;
+1 -1
modules/base/nix/substituters.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) optionals; 9 + inherit (lib.lists) optionals; 10 10 11 11 # well well well 12 12 hasCtp = if _class == "darwin" then true else (options ? catppuccin && config.catppuccin.enable);
+1 -1
modules/base/system/revision.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkOption; 9 + inherit (lib.options) mkOption; 10 10 11 11 cfg = config.garden.system; 12 12 in
+2 -1
modules/base/system/tools.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkEnableOption mergeAttrsList optionalAttrs; 8 + inherit (lib.attrsets) mergeAttrsList optionalAttrs; 9 + inherit (lib.options) mkEnableOption; 9 10 10 11 cfg = config.garden.system.tools; 11 12 in
+1 -1
modules/base/system/vars.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkOption; 8 + inherit (lib.options) mkOption; 9 9 inherit (lib.types) str; 10 10 11 11 sys = config.garden.system;
+2 -1
modules/base/users/isabel.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) elem mkIf; 7 + inherit (lib.lists) elem; 8 + inherit (lib.modules) mkIf; 8 9 in 9 10 { 10 11 config = mkIf (elem "isabel" config.garden.system.users) {
+2 -6
modules/base/users/mkuser.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) 10 - mkDefault 11 - mergeAttrsList 12 - optionalAttrs 13 - genAttrs 14 - ; 9 + inherit (lib.attrsets) mergeAttrsList optionalAttrs genAttrs; 10 + inherit (lib.modules) mkDefault; 15 11 inherit (self.lib) ifTheyExist; 16 12 in 17 13 {
+2 -1
modules/base/users/options.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkOption optional; 3 + inherit (lib.lists) optional; 4 + inherit (lib.options) mkOption; 4 5 inherit (lib.types) enum listOf str; 5 6 in 6 7 {
+1 -1
modules/darwin/documentation.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce; 3 + inherit (lib.modules) mkForce; 4 4 in 5 5 { 6 6 documentation = {
+2 -7
modules/flake/lib/mkhost.nix
··· 5 5 let 6 6 inherit (inputs) self; 7 7 8 - inherit (lib) 9 - optionals 10 - singleton 11 - concatLists 12 - recursiveUpdate 13 - mapAttrs 14 - ; 8 + inherit (lib.attrsets) recursiveUpdate mapAttrs; 9 + inherit (lib.lists) optionals singleton concatLists; 15 10 in 16 11 /** 17 12 mkHost is a function that uses withSystem to give us inputs' and self'
+3 -6
modules/flake/lib/validators.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) 4 - getAttrFromPath 5 - filter 6 - hasAttr 7 - any 8 - ; 3 + inherit (lib.attrsets) getAttrFromPath; 4 + inherit (lib.lists) any; 5 + inherit (lib) filter hasAttr; 9 6 10 7 /** 11 8 a function that will append a list of groups if they exist in config.users.groups
+3 -5
modules/flake/packages/docs/options.nix
··· 10 10 linkFarm, 11 11 }: 12 12 let 13 - inherit (lib) 14 - evalModules 15 - filterAttrs 16 - removePrefix 17 - ; 13 + inherit (lib.attrsets) filterAttrs; 14 + inherit (lib.modules) evalModules; 15 + inherit (lib.strings) removePrefix; 18 16 19 17 gitHubDeclaration = user: repo: subpath: { 20 18 url = "https://github.com/${user}/${repo}/blob/main/${subpath}";
+2 -1
modules/generic/packages.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkOption mergeAttrsList optionalAttrs; 8 + inherit (lib.attrsets) mergeAttrsList optionalAttrs; 9 + inherit (lib.options) mkOption; 9 10 inherit (lib.types) lazyAttrsOf package; 10 11 in 11 12 {
+1 -1
modules/generic/profiles.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkEnableOption; 3 + inherit (lib.options) mkEnableOption; 4 4 in 5 5 { 6 6 options.garden.profiles = {
+1 -1
modules/home/environment/xdg.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkIf mkForce; 9 + inherit (lib.modules) mkIf mkForce; 10 10 inherit (pkgs.stdenv.hostPlatform) isLinux; 11 11 12 12 template = self.lib.template.xdg;
+1 -1
modules/home/home.nix
··· 1 1 { lib, osConfig, ... }: 2 2 let 3 - inherit (lib) mkDefault; 3 + inherit (lib.modules) mkDefault; 4 4 in 5 5 { 6 6 home.stateVersion = osConfig.garden.system.stateVersion;
+1 -1
modules/home/profiles.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkEnableOption; 9 + inherit (lib.options) mkEnableOption; 10 10 in 11 11 { 12 12 options.garden.profiles.media = {
+2 -1
modules/home/programs/defaults.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkOption mapAttrs; 7 + inherit (lib.attrsets) mapAttrs; 8 + inherit (lib.options) mkOption; 8 9 inherit (lib.types) enum nullOr str; 9 10 10 11 mkDefault = name: args: mkOption ({ description = "default ${name} for the system"; } // args);
+2 -6
modules/home/programs/discord.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 9 - mkIf 10 - mkMerge 11 - mkEnableOption 12 - mkOption 13 - ; 8 + inherit (lib.modules) mkIf mkMerge; 9 + inherit (lib.options) mkEnableOption mkOption; 14 10 inherit (pkgs.stdenv.hostPlatform) isLinux isDarwin; 15 11 16 12 cfg = config.programs.discord;
+2 -1
modules/home/programs/pentesting.nix
··· 9 9 ... 10 10 }: 11 11 let 12 - inherit (lib) mkIf mkEnableOption; 12 + inherit (lib.modules) mkIf; 13 + inherit (lib.options) mkEnableOption; 13 14 14 15 cfg = config.garden.profiles.pentesting; 15 16 in
+2 -1
modules/home/themes/fonts.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkOption mkEnableOption; 8 + inherit (lib.modules) mkIf; 9 + inherit (lib.options) mkOption mkEnableOption; 9 10 inherit (lib.types) 10 11 str 11 12 int
+1 -1
modules/iso/boot.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce mkAfter; 3 + inherit (lib.modules) mkForce mkAfter; 4 4 in 5 5 { 6 6 boot = {
+2 -1
modules/iso/image.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkImageMediaOverride cleanSource; 9 + inherit (lib.sources) cleanSource; 10 + inherit (lib) mkImageMediaOverride; 10 11 11 12 # Get the hostname from our networking name provided in the mkNixosIso builder 12 13 # If none is set then default to "nixos"
+1 -1
modules/iso/networking.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce; 3 + inherit (lib.modules) mkForce; 4 4 in 5 5 { 6 6 # allow ssh into the system for headless installs
+1 -1
modules/iso/space.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce; 3 + inherit (lib.modules) mkForce; 4 4 in 5 5 { 6 6 # disable documentation
+2 -4
modules/nixos/boot/loader.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 8 + inherit (lib.modules) 9 9 mkForce 10 - mkOption 11 10 mkDefault 12 11 mkMerge 13 12 mkIf 14 - mkEnableOption 15 - mkPackageOption 16 13 ; 14 + inherit (lib.options) mkOption mkEnableOption mkPackageOption; 17 15 inherit (lib.types) enum nullOr str; 18 16 19 17 cfg = config.garden.system.boot;
+2 -1
modules/nixos/boot/tmpfs.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkEnableOption mkDefault; 3 + inherit (lib.modules) mkDefault; 4 + inherit (lib.options) mkEnableOption; 4 5 5 6 cfg = config.garden.system.boot; 6 7 in
+7 -11
modules/nixos/emulation.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 9 - mkIf 10 - splitString 11 - genAttrs 12 - flip 13 - pipe 14 - elemAt 15 - filter 16 - mkOption 17 - mkEnableOption 18 - ; 8 + inherit (lib.attrsets) genAttrs; 9 + inherit (lib.lists) elemAt; 10 + inherit (lib.modules) mkIf; 11 + inherit (lib.options) mkOption mkEnableOption; 12 + inherit (lib.strings) splitString; 13 + inherit (lib.trivial) flip pipe; 14 + inherit (lib) filter; 19 15 inherit (lib.types) 20 16 listOf 21 17 str
+1 -1
modules/nixos/environment/documentation.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce; 3 + inherit (lib.modules) mkForce; 4 4 in 5 5 { 6 6 documentation = {
+1 -1
modules/nixos/environment/wayland.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 in 5 5 { 6 6 config = mkIf config.garden.profiles.graphical.enable {
+1 -1
modules/nixos/environment/zswap.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 in 5 5 { 6 6 # compress half of the ram to use as swap basically, get more memory per memory
+2 -1
modules/nixos/hardware/cloud/hetzner/garden.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mkEnableOption; 3 + inherit (lib.modules) mkIf; 4 + inherit (lib.options) mkEnableOption; 4 5 5 6 cfg = config.garden.profiles.hetzner; 6 7 in
+2 -1
modules/nixos/hardware/cloud/hetzner/networking.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mkForce mkOption; 3 + inherit (lib.modules) mkIf mkForce; 4 + inherit (lib.options) mkOption; 4 5 5 6 cfg = config.garden.profiles.hetzner; 6 7 in
+2 -1
modules/nixos/hardware/cloud/oracle.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkForce mkEnableOption; 3 + inherit (lib.modules) mkForce; 4 + inherit (lib.options) mkEnableOption; 4 5 in 5 6 { 6 7 options.garden.profiles.oracle = {
+1 -1
modules/nixos/hardware/cloud/overrides.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkForce; 8 + inherit (lib.modules) mkIf mkForce; 9 9 enable = 10 10 config.garden.profiles.hetzner.enable 11 11 || config.garden.profiles.upcloud.enable
+2 -1
modules/nixos/hardware/cloud/upcloud.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mkEnableOption; 3 + inherit (lib.modules) mkIf; 4 + inherit (lib.options) mkEnableOption; 4 5 in 5 6 { 6 7 options.garden.profiles.upcloud = {
+1 -1
modules/nixos/hardware/cpu/amd.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 inherit (config.garden) device; 5 5 in 6 6 {
+2 -1
modules/nixos/hardware/cpu/default.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkOption types; 3 + inherit (lib.options) mkOption; 4 + inherit (lib) types; 4 5 in 5 6 { 6 7 imports = [
+1 -1
modules/nixos/hardware/cpu/intel.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 inherit (config.garden) device; 5 5 in 6 6 {
+2 -1
modules/nixos/hardware/gpu/default.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkOption types; 3 + inherit (lib.options) mkOption; 4 + inherit (lib) types; 4 5 in 5 6 { 6 7 imports = [
+2 -1
modules/nixos/hardware/gpu/intel.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf attrValues; 8 + inherit (lib.attrsets) attrValues; 9 + inherit (lib.modules) mkIf; 9 10 inherit (config.garden) device; 10 11 in 11 12 {
+1 -1
modules/nixos/hardware/gpu/nvidia.nix
··· 8 8 }: 9 9 let 10 10 inherit (config.garden) device; 11 - inherit (lib) mkIf mkDefault; 11 + inherit (lib.modules) mkIf mkDefault; 12 12 in 13 13 { 14 14 config = mkIf (device.gpu == "nvidia") {
+1 -1
modules/nixos/hardware/media/sound.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkIf; 9 + inherit (lib.modules) mkIf; 10 10 inherit (self.lib) isx86Linux; 11 11 in 12 12 {
+2 -1
modules/nixos/hardware/options.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkOption types; 3 + inherit (lib.options) mkOption; 4 + inherit (lib) types; 4 5 in 5 6 { 6 7 options.garden.device = {
+1 -1
modules/nixos/hardware/power/acpid.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 in 10 10 { 11 11 config = mkIf config.garden.profiles.laptop.enable {
+1 -1
modules/nixos/hardware/power/upower.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkIf; 7 + inherit (lib.modules) mkIf; 8 8 in 9 9 { 10 10 config = mkIf config.garden.profiles.laptop.enable {
+1 -1
modules/nixos/hardware/touchpad.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 in 5 5 { 6 6 config = mkIf config.garden.profiles.laptop.enable {
+2 -1
modules/nixos/hardware/yubikey.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkEnableOption; 8 + inherit (lib.modules) mkIf; 9 + inherit (lib.options) mkEnableOption; 9 10 in 10 11 { 11 12 options.garden.device.capabilities.yubikey = mkEnableOption "yubikey support";
+2 -1
modules/nixos/headless.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mapAttrs mkForce; 3 + inherit (lib.attrsets) mapAttrs; 4 + inherit (lib.modules) mkIf mkForce; 4 5 in 5 6 { 6 7 config = mkIf config.garden.profiles.headless.enable {
+2 -1
modules/nixos/kernel/blacklisted-modules.nix
··· 1 1 { config, lib, ... }: 2 2 let 3 - inherit (lib) optionals concatLists mkEnableOption; 3 + inherit (lib.lists) optionals concatLists; 4 + inherit (lib.options) mkEnableOption; 4 5 5 6 sys = config.garden.system; 6 7 in
+2 -1
modules/nixos/kernel/params.nix
··· 2 2 # <https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html> 3 3 { lib, config, ... }: 4 4 let 5 - inherit (lib) mkEnableOption optionals; 5 + inherit (lib.lists) optionals; 6 + inherit (lib.options) mkEnableOption; 6 7 cfg = config.garden.system; 7 8 in 8 9 {
+1 -1
modules/nixos/networking/blocker.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 in 5 5 { 6 6 # remove stupid sites that i just don't want to see
+1 -1
modules/nixos/networking/default.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkIf mkDefault mkForce; 7 + inherit (lib.modules) mkIf mkDefault mkForce; 8 8 in 9 9 { 10 10 imports = [
+1 -1
modules/nixos/networking/fail2ban.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mkMerge; 3 + inherit (lib.modules) mkIf mkMerge; 4 4 5 5 cfg = config.garden.services; 6 6 in
+1 -1
modules/nixos/networking/firewall.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkForce; 7 + inherit (lib.modules) mkForce; 8 8 in 9 9 { 10 10 config = {
+1 -1
modules/nixos/networking/networkmanager.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) optionalAttrs; 8 + inherit (lib.attrsets) optionalAttrs; 9 9 in 10 10 { 11 11 garden.packages = optionalAttrs config.garden.profiles.graphical.enable {
+1 -1
modules/nixos/networking/openssh.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) concatMapAttrs; 9 + inherit (lib.attrsets) concatMapAttrs; 10 10 inherit (self.lib) mkPubs; 11 11 in 12 12 {
+2 -1
modules/nixos/networking/optimise.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mkEnableOption; 3 + inherit (lib.modules) mkIf; 4 + inherit (lib.options) mkEnableOption; 4 5 5 6 cfg = config.garden.system.networking; 6 7 in
+2 -1
modules/nixos/networking/systemd.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce concatMapAttrs genAttrs; 3 + inherit (lib.attrsets) concatMapAttrs genAttrs; 4 + inherit (lib.modules) mkForce; 4 5 5 6 ethernetDevices = [ 6 7 "enp0s31f6" # ethernet interface on the motherboard
+3 -7
modules/nixos/networking/tailscale.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) 4 - mkIf 5 - mkDefault 6 - mkOption 7 - mkEnableOption 8 - optionals 9 - ; 3 + inherit (lib.lists) optionals; 4 + inherit (lib.modules) mkIf mkDefault; 5 + inherit (lib.options) mkOption mkEnableOption; 10 6 inherit (lib.types) bool listOf str; 11 7 12 8 inherit (config.services) tailscale;
+1 -1
modules/nixos/programs/graphical.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 in 10 10 { 11 11 config = mkIf config.garden.profiles.graphical.enable {
+1 -1
modules/nixos/programs/hyprland.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) anyHome; 10 10 11 11 cond = anyHome config (conf: conf.wayland.windowManager.hyprland.enable);
+2 -1
modules/nixos/security/pam.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf mkMerge genAttrs; 3 + inherit (lib.attrsets) genAttrs; 4 + inherit (lib.modules) mkIf mkMerge; 4 5 5 6 services = [ 6 7 "login"
+1 -1
modules/nixos/security/sudo.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkDefault; 3 + inherit (lib.modules) mkDefault; 4 4 in 5 5 { 6 6 # lets swap out our sudo for sudo-rs just like ubuntu does
+3 -6
modules/nixos/services/arr.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) 4 - mkEnableOption 5 - mkOption 6 - types 7 - genAttrs 8 - ; 3 + inherit (lib.attrsets) genAttrs; 4 + inherit (lib.options) mkEnableOption mkOption; 5 + inherit (lib) types; 9 6 10 7 cfg = config.garden.services.arr; 11 8 in
+1 -1
modules/nixos/services/attic.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption mkSecret; 10 10 11 11 rdomain = config.networking.domain;
+1 -1
modules/nixos/services/blahaj.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption mkSecret; 10 10 in 11 11 {
+4 -7
modules/nixos/services/borgbackup.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 9 - mkIf 10 - mkOption 11 - types 12 - mapAttrs 13 - mkEnableOption 14 - ; 8 + inherit (lib.attrsets) mapAttrs; 9 + inherit (lib.modules) mkIf; 10 + inherit (lib.options) mkOption mkEnableOption; 11 + inherit (lib) types; 15 12 inherit (self.lib) mkServiceOption mkSecret mkPubs; 16 13 17 14 cfg = config.garden.services.borgbackup;
+1 -1
modules/nixos/services/buildbot.nix
··· 7 7 ... 8 8 }: 9 9 let 10 - inherit (lib) mkIf mkMerge; 10 + inherit (lib.modules) mkIf mkMerge; 11 11 inherit (self.lib) mkServiceOption mkSecret; 12 12 13 13 inherit (config.sops) secrets;
+1 -1
modules/nixos/services/cloudflared.nix
··· 7 7 ... 8 8 }: 9 9 let 10 - inherit (lib) mkIf; 10 + inherit (lib.modules) mkIf; 11 11 inherit (self.lib) mkServiceOption mkSecret; 12 12 13 13 cfg = config.garden.services.cloudflared;
+1 -1
modules/nixos/services/forgejo.nix
··· 9 9 cfg = config.garden.services.forgejo; 10 10 rdomain = config.networking.domain; 11 11 12 - inherit (lib) mkIf mkForce; 12 + inherit (lib.modules) mkIf mkForce; 13 13 inherit (self.lib) mkServiceOption mkSecret; 14 14 in 15 15 {
+1 -1
modules/nixos/services/immich.nix
··· 8 8 cfg = config.garden.services.immich; 9 9 rdomain = config.networking.domain; 10 10 11 - inherit (lib) mkIf; 11 + inherit (lib.modules) mkIf; 12 12 inherit (self.lib) mkServiceOption mkSecret; 13 13 in 14 14 {
+1 -1
modules/nixos/services/jellyfin.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption; 10 10 11 11 cfg = config.garden.services.jellyfin;
+1 -1
modules/nixos/services/kanidm.nix
··· 9 9 ... 10 10 }: 11 11 let 12 - inherit (lib) mkIf; 12 + inherit (lib.modules) mkIf; 13 13 inherit (self.lib) mkServiceOption mkSecret; 14 14 15 15 rdomain = config.networking.domain;
+1 -1
modules/nixos/services/lego.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkSecret; 10 10 in 11 11 {
+1 -1
modules/nixos/services/mailserver.nix
··· 7 7 ... 8 8 }: 9 9 let 10 - inherit (lib) mkIf mkForce; 10 + inherit (lib.modules) mkIf mkForce; 11 11 inherit (self.lib) mkServiceOption mkSecret; 12 12 13 13 rdomain = config.networking.domain;
+3 -7
modules/nixos/services/nginx.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 9 - types 10 - mkIf 11 - mkOption 12 - mkDefault 13 - mkMerge 14 - ; 8 + inherit (lib.modules) mkIf mkDefault mkMerge; 9 + inherit (lib.options) mkOption; 10 + inherit (lib) types; 15 11 inherit (self.lib) mkServiceOption; 16 12 17 13 cfg = config.garden.services.nginx;
+2 -1
modules/nixos/services/nixpkgs-prs-bot.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkMerge mkEnableOption; 8 + inherit (lib.modules) mkIf mkMerge; 9 + inherit (lib.options) mkEnableOption; 9 10 inherit (self.lib) mkServiceOption mkSecret; 10 11 11 12 cfg = config.garden.services.nixpkgs-prs-bot;
+2 -1
modules/nixos/services/pds/default.nix
··· 9 9 cfg = config.garden.services.pds; 10 10 gkCfg = config.garden.services.pds-gatekeeper; 11 11 12 - inherit (lib) mkIf concatStringsSep; 12 + inherit (lib.modules) mkIf; 13 + inherit (lib.strings) concatStringsSep; 13 14 inherit (self.lib) mkServiceOption mkSecret; 14 15 in 15 16 {
+1 -1
modules/nixos/services/piper.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption mkSecret; 10 10 11 11 cfg = config.garden.services.piper;
+1 -1
modules/nixos/services/postgresql.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkIf; 9 + inherit (lib.modules) mkIf; 10 10 inherit (self.lib) mkSecret mkServiceOption; 11 11 12 12 cfg = config.garden.services;
+1 -1
modules/nixos/services/prowlarr.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption; 10 10 11 11 cfg = config.garden.services.prowlarr;
+1 -1
modules/nixos/services/qbittorent.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption mkSecret; 10 10 11 11 cfg = config.garden.services.qbittorrent;
+1 -1
modules/nixos/services/radarr.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption; 10 10 11 11 cfg = config.garden.services.radarr;
+1 -1
modules/nixos/services/sonarr.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption; 10 10 11 11 cfg = config.garden.services.sonarr;
+1 -1
modules/nixos/services/tranquil.nix
··· 8 8 let 9 9 cfg = config.garden.services.tranquil; 10 10 11 - inherit (lib) mkIf; 11 + inherit (lib.modules) mkIf; 12 12 inherit (self.lib) mkServiceOption mkSecret; 13 13 in 14 14 {
+1 -1
modules/nixos/services/vaultwarden.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 inherit (self.lib) mkServiceOption mkSecret; 10 10 11 11 rdomain = config.networking.domain;
+1 -1
modules/nixos/services/website.nix
··· 6 6 ... 7 7 }: 8 8 let 9 - inherit (lib) mkIf; 9 + inherit (lib.modules) mkIf; 10 10 inherit (self.lib) mkServiceOption; 11 11 12 12 inherit (config.networking) domain;
+2 -1
modules/nixos/system/earlyoom.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkForce concatStringsSep; 8 + inherit (lib.modules) mkIf mkForce; 9 + inherit (lib.strings) concatStringsSep; 9 10 10 11 avoid = concatStringsSep "|" [ 11 12 "(h|H)yprland"
+1 -1
modules/nixos/system/flatpak.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkIf; 7 + inherit (lib.modules) mkIf; 8 8 in 9 9 { 10 10 config = mkIf config.garden.profiles.graphical.enable {
+1 -1
modules/nixos/system/gnome.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf mkForce; 8 + inherit (lib.modules) mkIf mkForce; 9 9 in 10 10 { 11 11 config = mkIf config.garden.profiles.graphical.enable {
+1 -1
modules/nixos/system/location.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkIf; 7 + inherit (lib.modules) mkIf; 8 8 in 9 9 { 10 10 config = mkIf config.garden.profiles.graphical.enable {
+2 -1
modules/nixos/system/loginManager.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) getExe concatStringsSep; 8 + inherit (lib.meta) getExe; 9 + inherit (lib.strings) concatStringsSep; 9 10 10 11 sessionData = config.services.displayManager.sessionData.desktops; 11 12 in
+1 -1
modules/nixos/system/logind.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 prof = config.garden.profiles; 5 5 in 6 6 {
+1 -1
modules/nixos/system/logs.nix
··· 1 1 { lib, config, ... }: 2 2 let 3 - inherit (lib) mkIf; 3 + inherit (lib.modules) mkIf; 4 4 in 5 5 { 6 6 config = mkIf (!config.garden.profiles.server.enable) {
+1 -1
modules/nixos/system/misc.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 in 10 10 { 11 11 config = mkIf config.garden.profiles.graphical.enable {
+1 -1
modules/nixos/system/monitoring.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkDefault; 3 + inherit (lib.modules) mkDefault; 4 4 in 5 5 { 6 6 services = {
+1 -1
modules/nixos/system/oomd.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkDefault; 3 + inherit (lib.modules) mkDefault; 4 4 in 5 5 { 6 6 systemd = {
+3 -6
modules/nixos/system/printing.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) 9 - mkIf 10 - mkOption 11 - mkEnableOption 12 - attrValues 13 - ; 8 + inherit (lib.attrsets) attrValues; 9 + inherit (lib.modules) mkIf; 10 + inherit (lib.options) mkOption mkEnableOption; 14 11 inherit (lib.types) attrsOf path; 15 12 16 13 cfg = config.garden.system.printing;
+2 -1
modules/nixos/system/runners.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf genAttrs; 8 + inherit (lib.attrsets) genAttrs; 9 + inherit (lib.modules) mkIf; 9 10 10 11 cfg = config.garden.system.security.binaries; 11 12 in
+1 -1
modules/nixos/system/size.nix
··· 1 1 { lib, ... }: 2 2 let 3 - inherit (lib) mkForce; 3 + inherit (lib.modules) mkForce; 4 4 in 5 5 { 6 6 environment = {
+2 -1
modules/nixos/system/systemd.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) mkIf genAttrs; 7 + inherit (lib.attrsets) genAttrs; 8 + inherit (lib.modules) mkIf; 8 9 in 9 10 { 10 11 config = mkIf config.garden.profiles.graphical.enable {
+2 -1
modules/nixos/system/xdg-portals.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) getExe mkDefault; 8 + inherit (lib.meta) getExe; 9 + inherit (lib.modules) mkDefault; 9 10 in 10 11 { 11 12 xdg.portal = {
+1 -1
modules/nixos/system/xserver.nix
··· 5 5 ... 6 6 }: 7 7 let 8 - inherit (lib) mkIf; 8 + inherit (lib.modules) mkIf; 9 9 in 10 10 { 11 11 config = mkIf config.garden.profiles.graphical.enable {
+2 -1
modules/nixos/users/isabel.nix
··· 4 4 ... 5 5 }: 6 6 let 7 - inherit (lib) elem mkIf; 7 + inherit (lib.lists) elem; 8 + inherit (lib.modules) mkIf; 8 9 in 9 10 { 10 11 config = mkIf (elem "isabel" config.garden.system.users) {