nichts/hosts/vali/mars/configuration.nix

104 lines
2.9 KiB
Nix
Raw Normal View History

2024-04-10 17:39:26 +02:00
{ config, inputs, pkgs, ... }:
{
2024-04-10 19:21:46 +02:00
nixpkgs.config.allowUnfree = true;
2024-04-13 00:56:24 +02:00
# Time Zone
2024-04-10 17:39:26 +02:00
time.timeZone = "Europe/Zurich";
2024-04-12 22:58:01 +02:00
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "de";
2024-04-12 22:58:01 +02:00
# enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# reduce file size used & automatic garbage collector
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
options = "--delete-older-than 14d";
};
# required for nix-direnv to work and have environments not garbage collected
nix.extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
2024-04-10 17:39:26 +02:00
security.sudo.package = pkgs.sudo.override { withInsults = true; };
security.polkit.enable = true;
programs.kdeconnect.enable = true;
2024-04-13 00:15:21 +02:00
services.mpd = {
enable = true;
musicDirectory = "/home/vali/Nextcloud/Media/Music/";
startWhenNeeded = true;
extraConfig = ''
audio_output {
type "pipewire"
name "My PipeWire Output"
}
'';
};
2024-04-12 22:03:29 +02:00
modules = {
2024-04-10 17:39:26 +02:00
other = {
system = {
2024-04-12 14:41:59 +02:00
hostname = "mars";
2024-04-10 17:39:26 +02:00
username = "vali";
2024-04-12 14:41:59 +02:00
gitPath = "/home/vali/Git/nichts";
2024-04-10 17:39:26 +02:00
};
home-manager = {
enable = true;
2024-04-10 19:21:46 +02:00
enableDirenv = true;
2024-04-10 17:39:26 +02:00
};
};
programs = {
2024-04-10 20:46:23 +02:00
vesktop.enable = true;
2024-04-13 00:56:24 +02:00
ncmpcpp.enable = true;
ssh.enable = true;
2024-04-10 17:39:26 +02:00
btop.enable = true;
mpv.enable = true;
2024-04-13 22:44:39 +02:00
i3.enable = true;
2024-04-13 21:22:44 +02:00
dwm.enable = true;
schizofox.enable = true;
2024-04-12 15:57:17 +02:00
displaymanager.enable = true;
2024-04-10 20:46:23 +02:00
#neovim.enable = true;
#git = {
# enable = true;
# userName = "vali";
# userEmail = "valentin@kaas.cc";
# defaultBranch = "main";
2024-04-10 20:46:23 +02:00
#};
2024-04-10 17:39:26 +02:00
starship.enable = true;
zsh = {
enable = true;
profiling = false;
};
};
2024-04-10 19:21:46 +02:00
services = {
pipewire.enable = true;
2024-04-12 19:57:56 +02:00
};
2024-04-10 17:39:26 +02:00
themes = {
cursor = {
enable = true;
2024-04-10 19:42:28 +02:00
package = pkgs.bibata-cursors;
2024-04-10 17:39:26 +02:00
name = "Bibata-Modern-Classic";
2024-04-10 19:42:28 +02:00
size = 24;
2024-04-10 17:39:26 +02:00
};
gtk = {
enable = true;
package = pkgs.catppuccin-gtk;
name = "Catppuccin-Mocha-Standard-Green-Dark";
variant = "mocha";
accentColour = "green";
2024-04-10 19:31:40 +02:00
iconTheme = {
2024-04-10 17:39:26 +02:00
name = "Papirus-Dark";
2024-04-10 19:21:46 +02:00
package = pkgs.catppuccin-papirus-folders;
2024-04-10 17:39:26 +02:00
};
};
qt = {
2024-04-13 15:30:40 +02:00
enable = true;
2024-04-10 17:39:26 +02:00
package = pkgs.catppuccin-kde;
2024-04-10 19:21:46 +02:00
name = "Catppuccin-Mocha-Dark";
2024-04-10 17:39:26 +02:00
variant = "mocha";
accentColour = "green";
};
};
};
system.stateVersion = "23.11";
}