nixos/hosts/sakopc/configuration.nix

114 lines
2.4 KiB
Nix
Raw Normal View History

{
config,
pkgs,
lib,
inputs,
outputs,
2023-09-18 13:28:56 +04:00
...
}: {
imports = [
# Hardware Configuration
# TODO:: Add this back once generated!!!!!!!
2024-06-22 15:07:27 +04:00
./hardware-configuration.nix
];
# hostname
networking.hostName = "sakopc";
modules = {
desktop = {
2024-03-02 22:36:03 +04:00
bspwm = {
enable = true;
polybar.enable = true;
};
2023-09-18 13:28:56 +04:00
kitty.enable = true;
picom.enable = true;
apps = {
2023-09-21 18:49:41 +04:00
nextcloud.enable = true;
2023-09-24 20:54:05 +04:00
rssguard.enable = true;
2024-03-02 22:36:03 +04:00
obs.enable = true;
2024-06-22 15:09:24 +04:00
pass.enable = true;
};
2023-09-18 13:28:56 +04:00
browsers = {
firefox.enable = true;
qutebrowser.enable = false;
chromium.enable = true;
};
2023-09-18 13:28:56 +04:00
chat = {
whatsapp.enable = true;
zoom.enable = true;
2023-10-08 14:48:49 +04:00
discord.enable = true;
2024-03-02 22:36:03 +04:00
teams.enable = true;
telegram.enable = true;
2024-03-05 18:51:37 +04:00
weechat.enable = true;
2023-09-18 13:28:56 +04:00
};
game = {
lutris.enable = true;
steam.enable = true;
wine.enable = true;
2024-03-02 22:36:03 +04:00
tetrio.enable = true;
};
media = {
2023-09-18 13:28:56 +04:00
mpv.enable = true;
kdenlive.enable = true;
2024-03-02 22:36:03 +04:00
blender.enable = true;
};
2023-09-18 13:28:56 +04:00
};
dev = {
editors = {
nvim.enable = true;
2024-03-02 22:36:03 +04:00
emacs = {
enable = true;
daemon = true;
};
};
2023-09-18 13:28:56 +04:00
cc.enable = true;
javascript.enable = true;
lua.enable = true;
python.enable = true;
rust.enable = true;
nil.enable = true;
};
hardware = {
bluetooth.enable = false;
nvidia.enable = true;
pipewire.enable = true;
};
media = {
mpd.enable = true;
ncmpcpp.enable = true;
};
shell = {
nix = {
2023-09-20 07:38:46 +04:00
optimize.enable = true;
2023-09-18 13:28:56 +04:00
search.enable = true;
};
2023-09-18 13:28:56 +04:00
zsh.enable = true;
tmux.enable = true;
ranger.enable = true;
};
work = {
libreoffice.enable = true;
2023-10-08 14:48:49 +04:00
onlyoffice.enable = true;
};
security = {
sops.enable = true;
certs.enable = true;
};
};
2024-07-04 23:04:18 +04:00
# fuck you AOC
# my monitor only works on 240hz now
2024-07-04 23:14:53 +04:00
services.xserver.displayManager.setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output DP-0 --mode 1920x1080 --rate 239.96 --primary --output HDMI-0 --mode 1920x1080 --left-of DP-0
2024-07-04 23:14:53 +04:00
'';
2024-07-04 23:04:18 +04:00
2024-07-04 23:29:32 +04:00
services.xserver.dpi = 82;
2024-07-03 23:40:33 +04:00
home-manager.users.sako.home.stateVersion = "24.05";
# DO NOT CHANGE THIS!!!!
# ONLY CHANGE WHEN FULLY REINSTALLING
# OR USING NEW SYSTEMS
system.stateVersion = "24.05";
}