diff options
author | Linnnus <[email protected]> | 2023-09-06 08:18:38 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-09-06 08:18:38 +0200 |
commit | 17d483c8c8a96fad2200acaf802b7ef0b0eb494d (patch) | |
tree | d7807d842accf3730e6f4277d0b2dea00d8a811d /hosts | |
parent | 326cf19b227f04cb5fa6291943334f7c91b279d9 (diff) |
hej gør lige mere
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/ahmed/configuration.nix | 8 | ||||
-rw-r--r-- | hosts/muhammed/configuration.nix | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 530ad36..2ffa8a1 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -10,21 +10,20 @@ ./ssh.nix ]; - # Create the main user + # Create the main user. users.users.linus = { isNormalUser = true; hashedPassword = "$y$j9T$kNJ5L50Si0sAhdrHyO19I1$YcwXZ46dI.ApLMgZSj7qImq9FrSL0CEUeoJUS8P1103"; extraGroups = [ "wheel" ]; shell = pkgs.zsh; }; - home-manager.users.linus.home.stateVersion = "22.05"; - 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; environment.shells = [ pkgs.zsh ]; + my.use-cases = [ "development" "sysadmin" ]; + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.grub.device = "/dev/mmcblk0p3"; # FIXME: Do we need to specify GRUB device? @@ -67,4 +66,5 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.05"; # Did you read the comment? + home-manager.users.linus.home.stateVersion = "22.05"; } diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix index fb6a975..0e41669 100644 --- a/hosts/muhammed/configuration.nix +++ b/hosts/muhammed/configuration.nix @@ -1,27 +1,27 @@ # This file contains the configuration for my Macbook Pro. -{ pkgs, inputs, lib, ... }: +{ pkgs, flakeInputs, lib, ... }: { # Specify the location of this configuration file. Very meta. - environment.darwinConfig = inputs.self + "/hosts/muhammed/configuration.nix"; + environment.darwinConfig = flakeInputs.self + "/hosts/muhammed/configuration.nix"; # Use the Nix daemon. services.nix-daemon.enable = true; - # Set up main account. + # Set up main account with ZSH. 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 ]; + my.use-cases = [ "gui" "development" ]; + # Should match containing folder. networking.hostName = "muhammed"; |