-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
executable file
·76 lines (58 loc) · 1.82 KB
/
configuration.nix
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
#cant use ~ instead of /home/dylan evaluates to /root
/home/dylan/nixfiles/nixos
/home/dylan/nix-config/modules/nixos
];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
networking.hostName = "pacman";
services.blueman.enable = true;
# Set your time zone
time.timeZone = "Australia/Victoria";
system.stateVersion = "23.11"; # Did you read the comment?
system.autoUpgrade = {
enable = true;
};
users = {
mutableUsers = false;
users.dylan = {
isNormalUser = true;
description = "Dylan Gonzalez";
hashedPassword = "$y$j9T$CKpNRuBXW/Fxwab25cbwN/$B8o6AYbh53xkbpiMrk4UfHfqwSE6eoFOKZRbyDCJnU.";
extraGroups = [ "wheel" "docker" ];
};
};
nix.settings.trusted-users = [ "@wheel" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nova = {
branding.enable = false;
desktop.enable = false;
profile = "personal";
substituters.nova.password = "tFH6J!#HhrYc3&^m";
users.dylan.enable = true;
workspace.enable = false;
ci.master = {
enable = false;
domain = "localhost";
};
};
peripherals.oak-d.enable = true;
#home-manager.sharedModules = [{
# home.stateVersion = "23.11";
#}];
home-manager.nova.sharedModules = [{
nova.macros.enable = true;
}];
virtualisation.docker.enable = true;
}