76 lines
1.8 KiB
Nix
76 lines
1.8 KiB
Nix
{ modulesPath, config, lib, inputs, pkgs, ... }: {
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
inputs.home-manager.nixosModules.home-manager
|
|
];
|
|
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
|
|
environment.systemPackages = [
|
|
pkgs.curl
|
|
pkgs.gitMinimal
|
|
];
|
|
|
|
services.xserver.xkb = {
|
|
layout = "de";
|
|
variant = "neo_qwerty";
|
|
};
|
|
console.useXkbConfig = true;
|
|
console.earlySetup = true;
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
nix.settings.trusted-users = [ "root" "@wheel" ];
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
|
|
];
|
|
|
|
users.users.emily = {
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
ignoreShellProgramCheck = true;
|
|
extraGroups = [ "wheel" ];
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
|
|
];
|
|
};
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.users.emily = {
|
|
home.stateVersion = "23.11";
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
programs.gpg.enable = true;
|
|
programs.ripgrep.enable = true;
|
|
|
|
programs.eza = {
|
|
enable = true;
|
|
enableAliases = true;
|
|
icons = true;
|
|
git = true;
|
|
extraOptions = [
|
|
"--color-scale=all"
|
|
"--color-scale-mode=gradient"
|
|
"--group-directories-first"
|
|
];
|
|
};
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
set -U fish_greeting
|
|
'';
|
|
loginShellInit = ''
|
|
[ (tty) = /dev/tty1 ] ;and exec Hyprland
|
|
'';
|
|
};
|
|
};
|
|
system.stateVersion = "23.11";
|
|
}
|