summaryrefslogtreecommitdiff
path: root/hosts/muhammed/configuration.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-06 06:54:11 +0200
committerLinnnus <[email protected]>2023-09-06 06:54:11 +0200
commit326cf19b227f04cb5fa6291943334f7c91b279d9 (patch)
treea399e20affdf2bea6e415ba66e77075f79d635d7 /hosts/muhammed/configuration.nix
parent80006f82905f2567c895cf8737aaf3bf07f9668b (diff)
Get booting on muhammed
Diffstat (limited to 'hosts/muhammed/configuration.nix')
-rw-r--r--hosts/muhammed/configuration.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix
index 2645b80..fb6a975 100644
--- a/hosts/muhammed/configuration.nix
+++ b/hosts/muhammed/configuration.nix
@@ -4,7 +4,7 @@
{
# Specify the location of this configuration file. Very meta.
- # environment.darwinConfig = inputs.self + "/hosts/muhammed/configuration.nix";
+ environment.darwinConfig = inputs.self + "/hosts/muhammed/configuration.nix";
# Use the Nix daemon.
services.nix-daemon.enable = true;
@@ -13,7 +13,17 @@
users.users.linus = {
description = "Personal user account";
home = "/Users/linus";
+ shell = pkgs.zsh;
};
+ my.use-cases.development.enable = true;
+ my.use-cases.sysadmin.enable = true;
+ # Following are recommended when changing the default shell.
+ # https://nixos.wiki/wiki/Command_Shell#Changing_default_shelltrue;
+ programs.zsh.enable = true; # TODO: move to common module
+ environment.shells = [ pkgs.zsh ];
+
+ # Should match containing folder.
+ networking.hostName = "muhammed";
# Don't request password for running pmset.
environment.etc."sudoers.d/10-unauthenticated-commands".text =
@@ -26,6 +36,7 @@
%admin ALL=(ALL:ALL) NOPASSWD: ${builtins.concatStringsSep ", " commands}
'';
- # Backwards compatability. Check `darwin-rebuild changelog` before bumping.
+ # System-specific version info.
+ home-manager.users.linus.home.stateVersion = "22.05";
system.stateVersion = 4;
}