Organize configuration better

This commit is contained in:
thiloho
2025-01-29 00:51:37 +01:00
parent bbc956ff51
commit 642d3f55f1
11 changed files with 355 additions and 322 deletions

View File

@@ -1,30 +1,26 @@
{ inputs, pkgs, ... }:
{
imports = [
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480s
./hardware-configuration.nix
../shared-desktop.nix
../shared.nix
../../modules/core.nix
../../modules/desktop.nix
../../modules/development.nix
../../modules/home.nix
../../modules/media.nix
];
networking.hostName = "laptop";
boot.initrd = {
luks.devices = {
cryptroot = {
device = "/dev/disk/by-uuid/f1b5a08f-e515-4fba-b3f4-2a1091063cdc";
};
};
boot.initrd.luks.devices.cryptroot = {
device = "/dev/disk/by-uuid/f1b5a08f-e515-4fba-b3f4-2a1091063cdc";
};
home-manager.users.thiloho = {
programs.git.signing.key = "3B62137A89493F7D";
home.stateVersion = "24.11";
};
home-manager.users.thiloho =
{ pkgs, ... }:
{
programs.git.signing.key = "3B62137A89493F7D";
home = {
stateVersion = "24.11";
};
};
system.stateVersion = "24.11";
}