mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Organize configuration better
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user