blob: e62f1a835ca9e0dd5ea8aff27f6621098b2f9f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
config,
lib,
pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../shared/nixos/common-nix-settings
../../shared/nixos/common-shell-settings
../../shared/nixos-and-darwin/common-hm-settings
../../shared/nixos/danish
./wireless-networking
./desktop-environment
./remote-builders
];
# Should match containing folder.
networking.hostName = "ali";
boot.loader.grub = {
# Use the GRUB 2 boot loader.
enable = true;
# Install grub on the main HDD.
device = "/dev/sda";
};
# Create the main user.
users.users.linus = {
isNormalUser = true;
hashedPassword = "$y$j9T$UmZES4WC8FWrjBvdazq2e/$rzneAKZeySwSVKiSZJfXC.fciiQdGqxB5uyRaPQ6OF.";
extraGroups = ["wheel"];
};
users.mutableUsers = false;
home-manager.users.linus = {
imports = [
../../shared/home-manager/development-minimal
../../shared/home-manager/nix
../../shared/home-manager/C
];
home.stateVersion = "24.11";
};
system.stateVersion = "24.11";
}
|