This commit is contained in:
2025-12-07 17:25:31 +00:00
parent 3370e9856a
commit 621e38aa79
62 changed files with 2425 additions and 2370 deletions

View File

@@ -1,81 +1,81 @@
{
pkgs,
inputs,
user,
constants,
...
pkgs,
inputs,
user,
constants,
...
}: {
imports = [
../core.nix
../syncthing.nix
../tailscale.nix
inputs.sops-nix.nixosModules.sops
];
imports = [
../core.nix
../syncthing.nix
../tailscale.nix
inputs.sops-nix.nixosModules.sops
];
security.sudo.enable = true;
security.sudo.enable = true;
system.stateVersion = constants.stateVersions.nixos;
time.timeZone = "UTC";
system.stateVersion = constants.stateVersions.nixos;
time.timeZone = "UTC";
nix = {
settings.trusted-users = ["${user}"];
gc.dates = "weekly";
nixPath = ["nixos-config=/home/${user}/.local/share/src/nixos-config:/etc/nixos"];
};
nix = {
settings.trusted-users = ["${user}"];
gc.dates = "weekly";
nixPath = ["nixos-config=/home/${user}/.local/share/src/nixos-config:/etc/nixos"];
};
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 42;
};
efi.canTouchEfiVariables = true;
};
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
kernelPackages = pkgs.linuxPackages_latest;
};
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 42;
};
efi.canTouchEfiVariables = true;
};
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
kernelPackages = pkgs.linuxPackages_latest;
};
users.users = {
${user} = {
isNormalUser = true;
home = "/home/${user}";
extraGroups = [
"wheel"
"sudo"
"network"
"systemd-journal"
"docker"
];
shell = pkgs.fish;
openssh.authorizedKeys.keys = constants.sshKeys;
};
users.users = {
${user} = {
isNormalUser = true;
home = "/home/${user}";
extraGroups = [
"wheel"
"sudo"
"network"
"systemd-journal"
"docker"
];
shell = pkgs.fish;
openssh.authorizedKeys.keys = constants.sshKeys;
};
root = {
openssh.authorizedKeys.keys = constants.sshKeys;
};
};
root = {
openssh.authorizedKeys.keys = constants.sshKeys;
};
};
home-manager = {
useGlobalPkgs = true;
users.${user} = {
pkgs,
config,
lib,
...
}: {
_module.args = {inherit user constants inputs;};
imports = [
inputs.nixvim.homeModules.nixvim
../home/default.nix
./home/default.nix
];
};
};
home-manager = {
useGlobalPkgs = true;
users.${user} = {
pkgs,
config,
lib,
...
}: {
_module.args = {inherit user constants inputs;};
imports = [
inputs.nixvim.homeModules.nixvim
../home/default.nix
./home/default.nix
];
};
};
}

View File

@@ -1,5 +1,5 @@
{pkgs, ...}: {
home = {
packages = pkgs.callPackage ../packages.nix {};
};
home = {
packages = pkgs.callPackage ../packages.nix {};
};
}

View File

@@ -1,6 +1,6 @@
{pkgs}:
with pkgs; [
gcc15
lm_sensors
ghostty.terminfo
gcc15
lm_sensors
ghostty.terminfo
]