This commit is contained in:
gwg313 2024-12-15 14:08:33 -05:00
parent 308bdbebf9
commit badcf3aa40
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
43 changed files with 1972 additions and 253 deletions

View file

@ -8,7 +8,8 @@
user,
pkgs,
...
}: {
}:
{
# You can import other NixOS modules here
imports = [
# If you want to use modules your own flake exports (from modules/nixos):
@ -16,7 +17,9 @@
../../common/nixos/common.nix
../../common/gui/hyprland.nix
../../common/style/stylix.nix
# ../../common/style/vars/candlekeep.nix
../../common/nixos/sysctl
# ../../common/nixos/tuigreet.nix
../../common/networking
../../common/nixos
@ -53,7 +56,8 @@
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd.luks.devices."luks-b13379b3-2025-4d55-a40a-c0f3ad8ec801".device = "/dev/disk/by-uuid/b13379b3-2025-4d55-a40a-c0f3ad8ec801";
initrd.luks.devices."luks-1dbfdeb6-8537-41b2-abf0-09373af3eeee".device =
"/dev/disk/by-uuid/1dbfdeb6-8537-41b2-abf0-09373af3eeee";
};
# sops
@ -90,19 +94,17 @@
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) (
nix.registry = (lib.mapAttrs (_: flake: { inherit flake; })) (
(lib.filterAttrs (_: lib.isType "flake")) inputs
);
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nix.nixPath = ["/etc/nix/path"];
environment.etc =
lib.mapAttrs' (name: value: {
name = "nix/path/${name}";
value.source = value.flake;
})
config.nix.registry;
nix.nixPath = [ "/etc/nix/path" ];
environment.etc = lib.mapAttrs' (name: value: {
name = "nix/path/${name}";
value.source = value.flake;
}) config.nix.registry;
networking.hostName = "candlekeep";
# networking.networkmanager.enable = true;
@ -114,7 +116,7 @@
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILq54YrM3BbhBs0oDLOrc1bkg6FCCmkV4E3pWLZp0ejN gwg313@pm.me"
];
extraGroups = ["wheel"];
extraGroups = [ "wheel" ];
};
};
@ -129,6 +131,7 @@
EDITOR = "nvim";
VISUAL = "nvim";
PAGER = "moar";
PASSWORD_STORE_DIR = "$HOME/.local/share/password-store";
};
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion