Adding desktop config
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../common/global
|
||||
../common/features/networking.nix
|
||||
../common/features/nvidia.nix
|
||||
../common/features/wayland.nix
|
||||
../common/features/pipewire.nix
|
||||
../common/features/docker.nix
|
||||
../common/features/fonts.nix
|
||||
../common/features/nix-ld.nix
|
||||
../common/features/bluetooth.nix
|
||||
];
|
||||
|
||||
networking.hostName = "konishi";
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.naps62 = {
|
||||
isNormalUser = true;
|
||||
description = "Miguel Palhas";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"input"
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
|
||||
openssh.authorizedKeys.keys =
|
||||
let
|
||||
authorizedKeys = pkgs.fetchurl {
|
||||
url = "https://github.com/naps62.keys";
|
||||
sha256 = "sha256-rDWxVY9NqeMs/BhShf4a0++KCPCgPmy2QPFehBvsmnk=";
|
||||
};
|
||||
in
|
||||
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user