blob: be8e03f52f3f0f0465a78c62352b5d903d26ce27 (
plain) (
blame)
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
51
|
{
inputs,
outputs,
pkgs,
...
}: {
imports = [
./desktop
./hardware.nix
./impermanence.nix
./locale.nix
./nix.nix
./user.nix
inputs.home-manager.nixosModules.home-manager
];
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.master-packages
inputs.nur.overlay
];
config = {
allowUnfree = true;
};
};
home-manager = {
backupFileExtension = "bak";
extraSpecialArgs = {inherit inputs outputs;};
users.chen = import ../home-manager/home.nix;
};
networking = {
hostName = "nixosvm";
networkmanager.enable = true;
firewall.enable = true;
};
environment.systemPackages = with pkgs; [
git
htop
wget
];
services.ntp.enable = true;
security.sudo.execWheelOnly = true;
system.stateVersion = "24.11";
}
|