mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
hosts/ni: convert foo-dogsquared home-manager user to declarative hosts method
This commit is contained in:
parent
22aeb0c396
commit
16dae5c0b8
@ -14,22 +14,28 @@
|
|||||||
ni = {
|
ni = {
|
||||||
systems = [ "x86_64-linux" ];
|
systems = [ "x86_64-linux" ];
|
||||||
formats = null;
|
formats = null;
|
||||||
overlays = [
|
homeManagerUsers = {
|
||||||
# Neovim nightly!
|
nixpkgsInstance = "global";
|
||||||
inputs.neovim-nightly-overlay.overlays.default
|
users.foo-dogsquared = {
|
||||||
|
userConfig = {
|
||||||
# Emacs unstable version!
|
extraGroups = [
|
||||||
inputs.emacs-overlay.overlays.default
|
"adbusers"
|
||||||
|
"wheel"
|
||||||
# Helix master!
|
"audio"
|
||||||
inputs.helix-editor.overlays.default
|
"docker"
|
||||||
|
"podman"
|
||||||
# Access to NUR.
|
"networkmanager"
|
||||||
inputs.nur.overlay
|
"wireshark"
|
||||||
];
|
];
|
||||||
modules = [
|
hashedPassword =
|
||||||
inputs.nur.nixosModules.nur
|
"$6$.cMYto0K0CHbpIMT$dRqyKs4q1ppzmTpdzy5FWP/V832a6X..FwM8CJ30ivK0nfLjQ7DubctxOZbeOtygfjcUd1PZ0nQoQpOg/WMvg.";
|
||||||
];
|
isNormalUser = true;
|
||||||
|
createHome = true;
|
||||||
|
home = "/home/foo-dogsquared";
|
||||||
|
description = "Gabriel Arazas";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# A remote server.
|
# A remote server.
|
||||||
|
@ -5,24 +5,6 @@
|
|||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules
|
./modules
|
||||||
|
|
||||||
(lib.private.mapHomeManagerUser "foo-dogsquared" {
|
|
||||||
extraGroups = [
|
|
||||||
"adbusers"
|
|
||||||
"wheel"
|
|
||||||
"audio"
|
|
||||||
"docker"
|
|
||||||
"podman"
|
|
||||||
"networkmanager"
|
|
||||||
"wireshark"
|
|
||||||
];
|
|
||||||
hashedPassword =
|
|
||||||
"$6$.cMYto0K0CHbpIMT$dRqyKs4q1ppzmTpdzy5FWP/V832a6X..FwM8CJ30ivK0nfLjQ7DubctxOZbeOtygfjcUd1PZ0nQoQpOg/WMvg.";
|
|
||||||
isNormalUser = true;
|
|
||||||
createHome = true;
|
|
||||||
home = "/home/foo-dogsquared";
|
|
||||||
description = "Gabriel Arazas";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hosts.ni = {
|
hosts.ni = {
|
||||||
|
Loading…
Reference in New Issue
Block a user