2024-10-29 12:31:15 -07:00
|
|
|
{ pkgs, vars, ... }:
|
2024-09-13 14:55:27 -07:00
|
|
|
{
|
2024-09-16 16:03:52 -07:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2024-10-29 12:41:40 -07:00
|
|
|
./wm/hyprland/desktopEnvironment.nix
|
2024-09-16 16:03:52 -07:00
|
|
|
./system.nix
|
|
|
|
./security.nix
|
|
|
|
./flatpak.nix
|
|
|
|
./steam.nix
|
|
|
|
./locale.nix
|
2024-10-14 14:16:48 -07:00
|
|
|
./fonts.nix
|
2024-09-16 16:03:52 -07:00
|
|
|
];
|
2024-09-14 12:43:44 -07:00
|
|
|
|
2024-09-17 13:56:38 -07:00
|
|
|
# Configure user
|
2024-09-16 16:03:52 -07:00
|
|
|
programs.zsh.enable = true;
|
2024-10-29 12:31:15 -07:00
|
|
|
users.users.${vars.user.username} = {
|
2024-09-16 16:03:52 -07:00
|
|
|
isNormalUser = true;
|
2024-09-17 13:56:38 -07:00
|
|
|
shell = pkgs.zsh;
|
2024-10-29 12:31:15 -07:00
|
|
|
description = "${vars.user.username}";
|
2024-09-16 16:03:52 -07:00
|
|
|
extraGroups = [ "networkmanager" "wheel" ];
|
2024-09-18 13:34:12 -07:00
|
|
|
openssh.authorizedKeys.keys = let
|
|
|
|
authorizedKeys = pkgs.fetchurl {
|
|
|
|
url = "https://github.com/Jafner.keys";
|
|
|
|
sha256 = "1i3Vs6mPPl965g3sRmbXGzx6zQBs5geBCgNx2zfpjF4=";
|
|
|
|
};
|
2024-10-14 14:16:48 -07:00
|
|
|
in pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
|
2024-09-16 16:03:52 -07:00
|
|
|
};
|
|
|
|
|
2024-09-14 18:06:54 -07:00
|
|
|
# DO NOT CHANGE
|
2024-09-13 14:55:27 -07:00
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|
|
|
|
|