initial config commit
This commit is contained in:
parent
f8980b6805
commit
f3dc1d15ff
79 changed files with 2725 additions and 0 deletions
38
hosts/laptop/configuration.nix
Normal file
38
hosts/laptop/configuration.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
pkgs,
|
||||
hostName,
|
||||
inputs,
|
||||
userName,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../../modules/nixos/default.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# reusable modules
|
||||
|
||||
amd-gpu.enable = true;
|
||||
desktop.enable = true;
|
||||
networkmanager.enable = true;
|
||||
|
||||
# config
|
||||
|
||||
boot.initrd.luks.devices."luks-433a5889-6f18-4c9a-8d99-db02af39bdee".device =
|
||||
"/dev/disk/by-uuid/433a5889-6f18-4c9a-8d99-db02af39bdee";
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
i18n.extraLocaleSettings.LC_ALL = "en_AU.UTF-8";
|
||||
|
||||
users.users.${userName} = {
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"scanner"
|
||||
"lp"
|
||||
];
|
||||
isNormalUser = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue