Jafner.net/dotfiles/nixos/laptop/configuration.nix

33 lines
778 B
Nix
Raw Normal View History

{ pkgs, vars, ... }:
2024-09-13 14:55:27 -07:00
{
imports = [
./hardware-configuration.nix
./wm/hyprland/desktopEnvironment.nix
./system.nix
./security.nix
./flatpak.nix
./steam.nix
./locale.nix
2024-10-14 14:16:48 -07:00
./fonts.nix
];
# Configure user
programs.zsh.enable = true;
users.users.${vars.user.username} = {
isNormalUser = true;
shell = pkgs.zsh;
description = "${vars.user.username}";
extraGroups = [ "networkmanager" "wheel" ];
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);
};
# DO NOT CHANGE
2024-09-13 14:55:27 -07:00
system.stateVersion = "24.05";
}