mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
hosts/ni: update config
This commit is contained in:
parent
c56afe36de
commit
5e605b4053
@ -6,7 +6,14 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
(lib.mapHomeManagerUser "foo-dogsquared" {
|
(lib.mapHomeManagerUser "foo-dogsquared" {
|
||||||
extraGroups = [ "wheel" "audio" "docker" "podman" "networkmanager" ];
|
extraGroups = [
|
||||||
|
"adbusers"
|
||||||
|
"wheel"
|
||||||
|
"audio"
|
||||||
|
"docker"
|
||||||
|
"podman"
|
||||||
|
"networkmanager"
|
||||||
|
];
|
||||||
hashedPassword =
|
hashedPassword =
|
||||||
"$6$.cMYto0K0CHbpIMT$dRqyKs4q1ppzmTpdzy5FWP/V832a6X..FwM8CJ30ivK0nfLjQ7DubctxOZbeOtygfjcUd1PZ0nQoQpOg/WMvg.";
|
"$6$.cMYto0K0CHbpIMT$dRqyKs4q1ppzmTpdzy5FWP/V832a6X..FwM8CJ30ivK0nfLjQ7DubctxOZbeOtygfjcUd1PZ0nQoQpOg/WMvg.";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
@ -63,19 +70,15 @@
|
|||||||
};
|
};
|
||||||
themes.themes.a-happy-gnome.enable = true;
|
themes.themes.a-happy-gnome.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
programs.wezterm.enable = true;
|
||||||
|
programs.adb.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# This is installed just to get Geiser to properly work.
|
# This is installed just to get Geiser to properly work.
|
||||||
guile_3_0
|
guile_3_0
|
||||||
|
|
||||||
# The preferred terminal emulator.
|
|
||||||
wezterm
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# This is needed for shell integration and applying semantic zones.
|
|
||||||
environment.extraInit = ''
|
|
||||||
source ${pkgs.wezterm}/etc/profiles.d/wezterm.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Enable Guix service.
|
# Enable Guix service.
|
||||||
services.guix-binary.enable = true;
|
services.guix-binary.enable = true;
|
||||||
|
|
||||||
@ -103,10 +106,19 @@
|
|||||||
# The usual doas config.
|
# The usual doas config.
|
||||||
security.doas = {
|
security.doas = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraRules = [{
|
extraRules = [
|
||||||
|
{
|
||||||
groups = [ "wheel" ];
|
groups = [ "wheel" ];
|
||||||
persist = true;
|
persist = true;
|
||||||
}];
|
}
|
||||||
|
|
||||||
|
# It is the primary user so we may as well just make this easier to run.
|
||||||
|
{
|
||||||
|
users = [ "foo-dogsquared" ];
|
||||||
|
cmd = "nixos-rebuild";
|
||||||
|
noPass = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "22.11"; # Yes! I read the comment!
|
system.stateVersion = "22.11"; # Yes! I read the comment!
|
||||||
|
Loading…
Reference in New Issue
Block a user