summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix26
1 files changed, 21 insertions, 5 deletions
diff --git a/configuration.nix b/configuration.nix
index 0081e23..78ff8ad 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -4,9 +4,15 @@
experimental-features = ["nix-command" "flakes"];
auto-optimise-store = true;
};
- boot.loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables = true;
+ boot = {
+ loader = {
+ systemd-boot = {
+ enable = true;
+ configurationLimit = 5;
+ };
+ efi.canTouchEfiVariables = true;
+ };
+ initrd.systemd.enable = true;
};
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
@@ -16,10 +22,17 @@
};
users.users.tom = {
isNormalUser = true;
- extraGroups = ["wheel" "networkmanager" "video"];
+ extraGroups = [
+ "dialout"
+ "docker"
+ "networkmanager"
+ "video"
+ "wheel"
+ ];
shell = pkgs.zsh;
};
programs = {
+ light.enable = true;
slock.enable = true;
zsh = {
enable = true;
@@ -42,6 +55,9 @@
displayManager.startx.enable = true;
};
};
- system.stateVersion = "24.05";
+ environment.systemPackages = [
+ pkgs.vim
+ ];
zramSwap.enable = true;
+ system.stateVersion = "24.05";
}