Files
nixos-config/configs/user-gui.nix
Alexander Szczepanski bd22e9990f desktop-2024-08-31-19-00-36
2024-08-31 19:00:36 +02:00

112 lines
2.5 KiB
Nix
Executable File

{ config, pkgs, inputs, home-manager, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
networking = {
firewall.enable = false;
networkmanager = { enable = true; };
};
fonts = {
enableDefaultPackages = true;
fontDir.enable = true;
packages = with pkgs; [
(nerdfonts.override { fonts = [ "Meslo" "RobotoMono"]; })
corefonts
google-fonts
liberation_ttf
libertinus
gyre-fonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
open-sans
stix-two
twemoji-color-font
];
};
hardware = {
bluetooth.enable = true;
sane.enable = true;
};
# services = {
# gvfs.enable = true;
# mullvad-vpn.enable = true;
# };
programs = {
adb.enable = true;
ssh = { startAgent = true; };
# dconf.enable = true;
# gnupg.agent = {
# enable = true;
# pinentryFlavor = "curses";
# # enableSSHSupport = true;
# };
};
environment.systemPackages = with pkgs.unstable; [
czkawka # fslint before
grsync
handbrake
keepassxc
nextcloud-client
pinta
rustdesk-flutter
simple-scan
];
home-manager.users.alex = { pkgs, ... }: {
# services = { syncthing = { enable = true; }; };
programs = {
vscode = {
enable = true;
package = pkgs.unstable.vscode;
};
mpv = {
enable = true;
config = {
hwdec = "auto-safe";
vo = "gpu";
profile = "gpu-hq";
};
};
kitty = {
enable = true;
package = pkgs.unstable.kitty;
extraConfig = ''
enable_audio_bell false
background #000000
foreground #e9e9e9
cursor #e9e9e9
selection_background #424242
color0 #000000
color8 #000000
color1 #d44d53
color9 #d44d53
color2 #b9c949
color10 #b9c949
color3 #e6c446
color11 #e6c446
color4 #79a6da
color12 #79a6da
color5 #c396d7
color13 #c396d7
color6 #70c0b1
color14 #70c0b1
color7 #fffefe
color15 #fffefe
selection_foreground #000000
'';
};
};
};
}