mirror of
https://github.com/ItsDrike/nixdots
synced 2025-05-06 10:58:37 +00:00
Compare commits
No commits in common. "ebefce894a193ae2bf37b9eaf3ed7b96b59b9248" and "4b2f0ccb5425c3ec7c7112d40da602925724ec75" have entirely different histories.
ebefce894a
...
4b2f0ccb54
154 changed files with 725 additions and 881 deletions
|
@ -1,13 +1,9 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}: let
|
||||
{ config, lib, inputs, self, ... }:
|
||||
let
|
||||
myHmConf = config.myOptions.home-manager;
|
||||
username = config.myOptions.system.username;
|
||||
in {
|
||||
in
|
||||
{
|
||||
home-manager = lib.mkIf myHmConf.enable {
|
||||
# Use verbose mode for home-manager
|
||||
verbose = true;
|
||||
|
|
|
@ -11,17 +11,14 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
home.persistence."${cfg.persistentMountPoint}" = {
|
||||
directories =
|
||||
[
|
||||
directories = [
|
||||
".cache/nix"
|
||||
".cache/nix-index"
|
||||
]
|
||||
++ cfg.extraDirectories;
|
||||
] ++ cfg.extraDirectories;
|
||||
|
||||
files =
|
||||
[
|
||||
]
|
||||
++ cfg.extraFiles;
|
||||
files = [
|
||||
|
||||
] ++ cfg.extraFiles;
|
||||
|
||||
# Allow other users (such as root), to access files through the bind
|
||||
# mounted directories listed in `directories`. Useful for `sudo` operations,
|
||||
|
@ -30,15 +27,13 @@ in {
|
|||
};
|
||||
|
||||
home.persistence."${cfg.persistentDataMountPoint}" = {
|
||||
directories =
|
||||
[
|
||||
]
|
||||
++ cfg.extraDataDirectories;
|
||||
directories = [
|
||||
|
||||
files =
|
||||
[
|
||||
]
|
||||
++ cfg.extraDataFiles;
|
||||
] ++ cfg.extraDataDirectories;
|
||||
|
||||
files = [
|
||||
|
||||
] ++ cfg.extraDataFiles;
|
||||
|
||||
# See comment for this above
|
||||
allowOther = true;
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{pkgs, ...}: let
|
||||
scriptPkgs = import ./packages {inherit pkgs;};
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
|
||||
scriptPkgs = (import ./packages {inherit pkgs;});
|
||||
in {
|
||||
home.packages = with scriptPkgs; [
|
||||
bitcoin
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
name = "bitcoin";
|
||||
runtimeInputs = with pkgs; [coreutils curl jq];
|
||||
text = ''
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
name = "cheat.sh";
|
||||
runtimeInputs = with pkgs; [coreutils curl jq gnugrep fzf];
|
||||
text = ''
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
name = "colors-256";
|
||||
runtimeInputs = with pkgs; [coreutils];
|
||||
text = ''
|
||||
${builtins.readFile ./colors-256.sh}
|
||||
'';
|
||||
})
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
packages = {
|
||||
bitcoin = pkgs.callPackage ./bitcoin.nix {};
|
||||
cheatsh = pkgs.callPackage ./cheatsh {};
|
||||
|
@ -8,3 +11,4 @@
|
|||
};
|
||||
in
|
||||
packages
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
name = "gh-notify";
|
||||
runtimeInputs = with pkgs; [
|
||||
coreutils
|
||||
|
@ -11,3 +12,5 @@
|
|||
${builtins.readFile ./gh-notify.sh}
|
||||
'';
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
name = "unix";
|
||||
runtimeInputs = with pkgs; [coreutils];
|
||||
text = ''
|
||||
${builtins.readFile ./unix.sh}
|
||||
'';
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
in {
|
||||
config = mkIf osConfig.myOptions.home-manager.wms.isWayland {
|
||||
home.packages = with pkgs; [ swappy ];
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
in {
|
||||
config = mkIf osConfig.myOptions.home-manager.wms.isWayland {
|
||||
home.packages = with pkgs; [ wlogout ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -16,3 +16,6 @@ in {
|
|||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -14,3 +14,4 @@ in {
|
|||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -14,3 +14,4 @@ in {
|
|||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -31,3 +31,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
scriptPkgs = import ../../../../packages/cli/scripts/packages {inherit pkgs;};
|
||||
scriptPkgs = (import ../../../../packages/cli/scripts/packages {inherit pkgs;});
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.bars.eww;
|
||||
in {
|
||||
|
|
|
@ -14,8 +14,7 @@ in {
|
|||
enable = true;
|
||||
|
||||
package = pkgs.ungoogled-chromium.override {
|
||||
commandLineArgs =
|
||||
[
|
||||
commandLineArgs = [
|
||||
# Ungoogled features
|
||||
"--disable-search-engine-collection"
|
||||
"--extension-mime-request-handling=always-prompt-for-install"
|
||||
|
@ -61,8 +60,7 @@ in {
|
|||
"--disable-sync"
|
||||
"--disable-speech-api"
|
||||
"--disable-speech-synthesis-api"
|
||||
]
|
||||
++ optionals isWayland [
|
||||
] ++ optionals isWayland [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
|
@ -70,3 +68,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -6,3 +6,4 @@ _: {
|
|||
./firefox
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -143,9 +143,9 @@ in {
|
|||
];
|
||||
|
||||
extraExtensions = builtins.foldl' (acc: ext: acc // {ext.id = { install_url = mkUrl ext.name;};}) {} extensions;
|
||||
in
|
||||
extraExtensions;
|
||||
in extraExtensions;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -10,3 +10,4 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{osConfig, ...}: let
|
||||
{
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
cfg = osConfig.myOptions.home-manager.wms.hyprland;
|
||||
in {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
@ -26,3 +29,4 @@ in {
|
|||
monitor = cfg.monitor;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
{ config, osConfig, ... }: let
|
||||
cfgPreferences = osConfig.myOptions.home-manager.preferences;
|
||||
in {
|
||||
wayland.windowManager.hyprland = {
|
||||
|
@ -195,6 +191,7 @@ in {
|
|||
# Global keybinds (passing keys to other programs)
|
||||
#
|
||||
"CTRL, F10, pass, ^(com\.obsproject\.Studio)$"
|
||||
|
||||
];
|
||||
|
||||
# Mouse bindings
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{config, ...}: {
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
||||
#
|
||||
# Window gaps
|
||||
#
|
||||
|
@ -76,6 +81,7 @@
|
|||
"col.shadow_inactive" = "rgba(0F0F0F99)";
|
||||
};
|
||||
|
||||
|
||||
#
|
||||
# Window Blur
|
||||
#
|
||||
|
@ -86,6 +92,7 @@
|
|||
passes = 1;
|
||||
};
|
||||
|
||||
|
||||
#
|
||||
# Dim inactive windows
|
||||
#
|
||||
|
@ -117,3 +124,4 @@
|
|||
misc.animate_manual_resizes = true;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -109,3 +109,4 @@
|
|||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
hyprPkgs = import ./packages {inherit pkgs;};
|
||||
hyprPkgs = (import ./packages {inherit pkgs;});
|
||||
|
||||
# TODO: Switch to flake
|
||||
hyprlandPkg = pkgs.hyprland;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
packages = {
|
||||
hyprland-move-window = pkgs.callPackage ./hyprland-move-window {};
|
||||
brightness = pkgs.callPackage ./brightness {};
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
pkgs.writeShellScriptBin "hyprland-move-window" ''
|
||||
${builtins.readFile ./hyprland-move-window.sh}
|
||||
''
|
||||
|
||||
|
|
|
@ -13,3 +13,4 @@ pkgs.writeShellApplication {
|
|||
${builtins.readFile ./quick-record.sh}
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
@ -10,3 +10,5 @@ pkgs.writeShellApplication {
|
|||
${builtins.readFile ./toggle-fake-fullscreen.sh}
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -10,3 +10,6 @@ pkgs.writeShellApplication {
|
|||
${builtins.readFile ./toggle-notifications.sh}
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./neovim
|
||||
./helix
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
theme = "tokyonight";
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
bufferline = "multiple";
|
||||
cursor-shape.insert = "bar";
|
||||
lsp.display-messages = true;
|
||||
};
|
||||
keys = {
|
||||
normal = {
|
||||
esc = ["collapse_selection" "keep_primary_selection"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
languages = {
|
||||
language = [
|
||||
{
|
||||
name = "python";
|
||||
scope = "source.python";
|
||||
injection-regex = "python";
|
||||
file-types = ["py" "pyi" "py3" "pyw" ".pythonstartup" ".pythonrc"];
|
||||
shebangs = ["python"];
|
||||
roots = ["." "pyproject.toml" "pyrightconfig.json"];
|
||||
comment-token = "#";
|
||||
language-servers = ["basedpyright" "ruff"];
|
||||
indent = {
|
||||
tab-width = 4;
|
||||
unit = " ";
|
||||
};
|
||||
auto-format = true;
|
||||
}
|
||||
];
|
||||
language-server = {
|
||||
ruff = {
|
||||
command = "ruff-lsp";
|
||||
};
|
||||
basedpyright = {
|
||||
command = "basedpyright-langserver";
|
||||
args = ["--stdio"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -8,3 +8,5 @@ _: {
|
|||
./kitty.nix
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
libsixel # for displaying images
|
||||
];
|
||||
|
@ -59,3 +62,4 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -92,3 +92,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -9,3 +9,4 @@ _: {
|
|||
./ranger.nix
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -16,3 +16,4 @@ in {
|
|||
${(optionalString config.programs.kitty.enable "set preview_images_method kitty")}
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
@ -49,3 +49,4 @@
|
|||
}
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
@ -12,3 +12,4 @@ pkgs: {
|
|||
hash = "sha256-k/yre9SYNPYBM2W1DPpL6Ypt3w3EMO9dznHwa+fw/n0=";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -38,3 +38,4 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -144,3 +144,4 @@
|
|||
"*.pkg" = "";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -61,3 +61,4 @@
|
|||
syntect_theme = "";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -43,3 +43,4 @@
|
|||
permissions_s = {fg = "darkgray";};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
nr = "${pkgs.nixos-rebuild}/bin/nixos-rebuild";
|
||||
in {
|
||||
in
|
||||
{
|
||||
programs.zsh.shellAliases = {
|
||||
# I'm not the greatest typist
|
||||
sl = "ls";
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{ config, pkgs, ... }: {
|
||||
imports = [
|
||||
./plugins.nix
|
||||
./aliases.nix
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
_: let
|
||||
_:
|
||||
let
|
||||
inherit (builtins) readFile;
|
||||
in {
|
||||
in
|
||||
{
|
||||
|
||||
# I prefer having the rc files split across multiple files in my system rather
|
||||
# than just using readFile and putting them all into the generated zshrc
|
||||
# this also allows me to source them individually if I need to
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
inherit (pkgs) fetchFromGitHub;
|
||||
in {
|
||||
in
|
||||
{
|
||||
programs.zsh.plugins = [
|
||||
{
|
||||
name = "zsh-nix-shell";
|
||||
|
|
|
@ -11,3 +11,4 @@ in {
|
|||
programs.fastfetch.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{pkgs, ...}: let
|
||||
scriptPkgs = import ./bin {inherit pkgs;};
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
|
||||
scriptPkgs = (import ./bin {inherit pkgs;});
|
||||
in {
|
||||
programs.git = {
|
||||
aliases = {
|
||||
|
@ -66,8 +70,6 @@ in {
|
|||
|
||||
set-upstream = "!git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`";
|
||||
|
||||
fixup-picker = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup";
|
||||
|
||||
staash = "stash --all";
|
||||
stash-staged = "!sh -c 'git stash --keep-index; git stash push -m \"staged\" --keep-index; git stash pop stash@{1}'";
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
packages = {
|
||||
better-git-branch = pkgs.callPackage ./better-git-branch {};
|
||||
};
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{ osConfig, pkgs, ... }:
|
||||
let
|
||||
myGitConf = osConfig.myOptions.home-manager.git;
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./gh.nix
|
||||
./ignores.nix
|
||||
|
|
|
@ -33,12 +33,10 @@ in {
|
|||
};
|
||||
|
||||
default_profile = cfg.defaultProfile;
|
||||
profiles =
|
||||
lib.mapAttrs (name: profile: {
|
||||
profiles = lib.mapAttrs (name: profile: {
|
||||
user_id = profile.userId;
|
||||
url = profile.homeServer;
|
||||
})
|
||||
cfg.profiles;
|
||||
}) cfg.profiles;
|
||||
|
||||
dirs = {
|
||||
cache = "${config.xdg.cacheHome}/iamb/";
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
# Config copied from https://git.notashelf.dev/NotAShelf/nyx
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
{ pkgs, lib, ... }: let
|
||||
inherit (lib) getExe;
|
||||
|
||||
mpv = "${getExe pkgs.mpv}";
|
||||
|
|
|
@ -57,3 +57,4 @@
|
|||
{url = "https://kiszamolo.hu/feed";}
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
programs = {
|
||||
ssh = {
|
||||
|
||||
# TODO: Enable this after figuring out how to add protected/encrypted blocks here.
|
||||
# I don't like the idea of expising IPs/hostnames in the config.
|
||||
# For now, I just persist the .ssh directory, managing stuff manually.
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
XDG_RUNTIME_DIR = config.home.sessionVariables.XDG_RUNTIME_DIR;
|
||||
XDG_BIN_HOME = config.home.sessionVariables.XDG_BIN_HOME;
|
||||
in {
|
||||
|
||||
# Variables set to force apps into the XDG base directories
|
||||
# These will get set at login
|
||||
# Defined in /etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{config, pkgs, ...}: {
|
||||
imports = [
|
||||
./mime-apps.nix
|
||||
./user-dirs.nix
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Manage $XDG_CONFIG_HOME/mimeapps.list
|
||||
{osConfig, ...}: let
|
||||
{
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
cfgPreferences = osConfig.myOptions.home-manager.preferences;
|
||||
in {
|
||||
xdg.mimeApps = let
|
||||
|
|
|
@ -31,3 +31,4 @@ in {
|
|||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{osConfig, ...}: let
|
||||
{
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
cfg = osConfig.myOptions.home-manager.theme.cursor;
|
||||
in {
|
||||
home = {
|
||||
|
|
|
@ -18,11 +18,7 @@ in {
|
|||
GTK_THEME = "${cfg.theme.name}";
|
||||
|
||||
# gtk applications should use filepickers specified by xdg
|
||||
GTK_USE_PORTAL = "${toString (
|
||||
if cfg.usePortal
|
||||
then 1
|
||||
else 0
|
||||
)}";
|
||||
GTK_USE_PORTAL = "${toString (if cfg.usePortal then 1 else 0)}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -80,6 +80,7 @@ in {
|
|||
};
|
||||
"Kvantum/${cfg.kvantumTheme.name}".source = "${cfg.kvantumTheme.package}/share/Kvantum/${cfg.kvantumTheme.name}";
|
||||
|
||||
|
||||
# Set icon theme using qtct
|
||||
"qt5ct/qt5ct.conf".text = lib.generators.toINI {} {
|
||||
Appearance = {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{inputs, ...}: let
|
||||
{ inputs, ... }:
|
||||
let
|
||||
inherit (inputs) self;
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
|
||||
|
@ -8,30 +9,27 @@
|
|||
../home
|
||||
../options
|
||||
];
|
||||
in {
|
||||
in
|
||||
{
|
||||
herugrim = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit lib inputs self; };
|
||||
modules =
|
||||
[
|
||||
modules = [
|
||||
./herugrim
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.impermanence.nixosModules.impermanence
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
]
|
||||
++ shared;
|
||||
] ++ shared;
|
||||
};
|
||||
|
||||
voyager = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit lib inputs self; };
|
||||
modules =
|
||||
[
|
||||
modules = [
|
||||
./voyager
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.impermanence.nixosModules.impermanence
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
]
|
||||
++ shared;
|
||||
] ++ shared;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
|
||||
|
@ -19,45 +15,45 @@
|
|||
|
||||
boot.initrd.luks.devices."cryptfs".device = "/dev/disk/by-label/NIXCRYPTROOT";
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/NIXROOT";
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
fileSystems."/home" = {
|
||||
device = "/dev/disk/by-label/NIXROOT";
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" = {
|
||||
device = "/dev/disk/by-label/NIXROOT";
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/log" = {
|
||||
device = "/dev/disk/by-label/NIXROOT";
|
||||
fileSystems."/var/log" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=log" "noatime" "compress=zstd:3" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
fileSystems."/persist" = {
|
||||
device = "/dev/disk/by-label/NIXROOT";
|
||||
fileSystems."/persist" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=persist" "noatime" "compress=zstd:3" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-label/NIXBOOT";
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-label/NIXBOOT";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-label/SWAP";}
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-label/SWAP"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
@ -85,7 +83,6 @@
|
|||
".local/state/nvim"
|
||||
".config/github-copilot"
|
||||
".config/ipython"
|
||||
".cache/pre-commit"
|
||||
|
||||
# Services
|
||||
".local/state/wireplumber" # volume settings
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
||||
|
@ -19,45 +15,45 @@
|
|||
|
||||
boot.initrd.luks.devices."cryptfs".device = "/dev/disk/by-label/NIXOS-CRYPTFS";
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" = {
|
||||
device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
fileSystems."/persist" = {
|
||||
device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fileSystems."/persist" =
|
||||
{ device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=persist" "noatime" "compress=zstd:3" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
fileSystems."/data" = {
|
||||
device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fileSystems."/data" =
|
||||
{ device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=data" "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-label/EFI";
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-label/EFI";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
fileSystems."/.btrfs" = {
|
||||
device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fileSystems."/.btrfs" =
|
||||
{ device = "/dev/disk/by-label/NIXOS-FS";
|
||||
fsType = "btrfs";
|
||||
options = [ "noatime" "compress=zstd:3" ];
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-label/SWAP";}
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-label/SWAP"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib, ... }: let
|
||||
inherit (lib) mkOption mkEnableOption types;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.device = {
|
||||
cpu.type = mkOption {
|
||||
type = with types; nullOr (enum [ "intel" "amd" ]);
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ lib, config, ... }: let
|
||||
inherit (lib) mkOption types;
|
||||
|
||||
cfg = config.myOptions.device.roles;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption;
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./programs
|
||||
./git.nix
|
||||
|
@ -21,3 +21,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.home-manager.git = {
|
||||
userName = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
{ lib, ... }: let
|
||||
inherit (lib) mkOption types;
|
||||
|
||||
mkPreferenceCmdOption = name: commandDefault:
|
||||
mkOption {
|
||||
mkPreferenceCmdOption = name: commandDefault: mkOption {
|
||||
type = types.str;
|
||||
description = "The command to start your preferred ${name}.";
|
||||
default = commandDefault;
|
||||
};
|
||||
|
||||
mkPreferenceDesktopOption = name: desktopDefault:
|
||||
mkOption {
|
||||
mkPreferenceDesktopOption = name: desktopDefault: mkOption {
|
||||
type = types.str;
|
||||
description = "The desktop (application) file for your preferred ${name}.";
|
||||
default = desktopDefault;
|
||||
|
@ -19,7 +17,8 @@
|
|||
command = mkPreferenceCmdOption name commandDefault;
|
||||
desktop = mkPreferenceDesktopOption name desktopDefault;
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.home-manager.preferences = {
|
||||
browser = mkPreferenceOptions "browser" "firefox" "firefox.desktop";
|
||||
terminalEmulator = mkPreferenceOptions "terminal emulator" "kitty" "kitty.desktop";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./iamb.nix
|
||||
];
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
inherit (lib) mkEnableOption mkOption types mkIf;
|
||||
|
||||
cfg = config.myOptions.home-manager.programs.applications.iamb;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.home-manager.programs.applications.iamb = {
|
||||
enable = mkEnableOption "iamb (vim-inspired terminal Matrix client)";
|
||||
defaultProfile = mkOption {
|
||||
|
@ -47,3 +48,4 @@ in {
|
|||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.home-manager.services = {
|
||||
dunst.enable = mkEnableOption "Dunst (lightweight notification daemon)";
|
||||
hyprpaper = {
|
||||
|
@ -14,3 +14,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{ lib, pkgs, ... }: let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.home-manager.theme = {
|
||||
gtk = {
|
||||
enable = mkEnableOption "GTK theming optionss";
|
||||
|
@ -144,5 +141,6 @@ in {
|
|||
description = "The size of the cursor";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ in {
|
|||
Hyprland wayland compositor.
|
||||
'';
|
||||
|
||||
|
||||
monitor = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
{ lib, config, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption literalExpression types;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.security.auditd = {
|
||||
enable = mkEnableOption "the audit daemon.";
|
||||
autoPrune = {
|
||||
|
@ -62,3 +58,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{ config, lib, pkgs, ...}: let
|
||||
inherit (lib) mkOption mkEnableOption literalExpression;
|
||||
|
||||
cfg = config.myOptions.system.boot;
|
||||
|
@ -21,15 +16,15 @@ in {
|
|||
description = "The kernel to use for the system.";
|
||||
};
|
||||
|
||||
tmpOnTmpfs = mkEnableOption ''
|
||||
tmpOnTmpfs =
|
||||
mkEnableOption ''
|
||||
`/tmp` living on tmpfs. false means it will be cleared manually on each reboot
|
||||
|
||||
This option defaults to `true` if the host provides patches to the kernel package in
|
||||
`boot.kernelPatches`
|
||||
'';
|
||||
|
||||
silentBoot =
|
||||
mkEnableOption ''
|
||||
silentBoot = mkEnableOption ''
|
||||
almost entirely silent boot process through `quiet` kernel parameter
|
||||
''
|
||||
// { default = cfg.plymouth.enable; };
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.system.boot.plymouth = {
|
||||
enable = mkEnableOption ''
|
||||
Plymouth boot splash.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.system.boot.secure-boot = {
|
||||
enable = mkEnableOption ''
|
||||
secure-boot using lanzaboote.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkOption;
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./boot
|
||||
./impermanence.nix
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
{ lib, config, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption literalExpression types;
|
||||
|
||||
cfg = config.myOptions.system.impermanence;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.system.impermanence = {
|
||||
root = {
|
||||
enable = mkEnableOption ''
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
{ lib, config, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption literalExpression types;
|
||||
|
||||
cfg = config.myOptions.workstation;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.myOptions.workstation = {
|
||||
printing = {
|
||||
enable = mkEnableOption ''
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop"];
|
||||
|
@ -25,3 +20,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop"];
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib.modules) mkForce;
|
||||
inherit (lib.strings) makeBinPath;
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop"];
|
||||
|
@ -21,3 +16,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop"];
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
inherit (lib) mkIf getExe;
|
||||
inherit (lib.strings) concatStringsSep;
|
||||
|
||||
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
|
|
@ -23,10 +23,7 @@ in {
|
|||
# Note: this assumes a wlroots based compositor if it's not hyprland
|
||||
# which may not always actually be the case, however, I can't be bothered to handle
|
||||
# everything here and I don't plan on moving WMs any time soon.
|
||||
portal =
|
||||
if cfgHyprlandEnabled
|
||||
then "hyprland"
|
||||
else "wlr";
|
||||
portal = if cfgHyprlandEnabled then "hyprland" else "wlr";
|
||||
in {
|
||||
# Use this portal for every interface, unless a specific override is present
|
||||
default = ["gtk"];
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
@ -20,30 +15,26 @@ in {
|
|||
"Noto Color Emoji"
|
||||
];
|
||||
in {
|
||||
monospace =
|
||||
[
|
||||
monospace = [
|
||||
"Monaspace Krypton"
|
||||
"Source Code Pro Medium"
|
||||
"Source Han Mono"
|
||||
]
|
||||
++ common;
|
||||
|
||||
sansSerif =
|
||||
[
|
||||
sansSerif = [
|
||||
"Noto Sans"
|
||||
"Jost"
|
||||
"Lexend"
|
||||
]
|
||||
++ common;
|
||||
|
||||
serif =
|
||||
[
|
||||
serif = [
|
||||
"Noto Serif"
|
||||
]
|
||||
++ common;
|
||||
|
||||
emoji =
|
||||
[
|
||||
emoji = [
|
||||
"Noto Color Emoji"
|
||||
]
|
||||
++ common;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{ lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
|
|
@ -16,3 +16,4 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -34,3 +34,4 @@ in {
|
|||
services.tumbler.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -8,3 +8,4 @@
|
|||
./gnome-keyring.nix
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue