summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authortom barrett <tom@tombarrett.xyz>2025-02-13 21:58:58 +0100
committertom barrett <tom@tombarrett.xyz>2025-02-13 21:58:58 +0100
commitd144d796a193de00baec6c208fa20abf48f43428 (patch)
treea5497995afbe0f350f32602e38eb44936cae5fe6 /configuration.nix
parentb7aa15adc4c1e9b76fd9cf5306ad618a2110c764 (diff)
more generally used stuff
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";
}