nixos/hosts/sakopc/configuration.nix
Sakooooo 5e9e75eb0b
save
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
get out of my skin
2024-10-08 20:16:51 +04:00

130 lines
3.1 KiB
Nix

{ config, pkgs, lib, inputs, outputs, ... }: {
imports = [
# Hardware Configuration
# TODO:: Add this back once generated!!!!!!!
./hardware-configuration.nix
];
# hostname
networking.hostName = "sakopc";
modules = {
desktop = {
flatpak.enable = true;
wireguard.enable = true;
printing.enable = true;
bspwm = {
enable = false;
polybar.enable = false;
};
hyprland.enable = true;
foot.enable = true;
kitty.enable = true;
picom.enable = false;
dunst.enable = false;
apps = {
nextcloud.enable = true;
rssguard.enable = true;
obs.enable = true;
pass.enable = true;
localsend.enable = true;
nemo.enable = true;
anki.enable = true;
};
browsers = {
firefox.enable = true;
qutebrowser.enable = false;
chromium.enable = false;
};
chat = {
zoom.enable = true;
discord.enable = true;
teams.enable = true;
telegram.enable = true;
weechat.enable = true;
signal.enable = true;
element.enable = true;
};
game = {
lutris.enable = true;
steam.enable = true;
wine.enable = true;
tetrio.enable = true;
};
media = {
mpv.enable = true;
ardour.enable = true;
kdenlive.enable = true;
blender.enable = true;
feishin.enable = true;
jellyfin.enable = false;
};
};
dev = {
editors = {
nvim.enable = true;
emacs = {
enable = true;
daemon = true;
package = pkgs.emacs-unstable-pgtk;
};
};
cc.enable = true;
javascript.enable = true;
lua.enable = true;
python.enable = true;
rust.enable = true;
nixd.enable = true;
};
hardware = {
bluetooth.enable = false;
nvidia.enable = true;
pipewire.enable = true;
};
media = {
mpd.enable = false;
ncmpcpp.enable = false;
mopidy.enable = false;
};
shell = {
nix = {
optimize.enable = true;
search.enable = true;
switch-to-configuration-ng.enable = true;
nh.enable = true;
tree.enable = true;
};
zsh.enable = true;
tmux.enable = true;
ranger.enable = true;
};
work = {
libreoffice.enable = true;
onlyoffice.enable = true;
};
security = {
certs.enable = true;
tor.enable = true;
};
};
# fuck you AOC
# my monitor only works on 240hz now
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
'';
# secrets
age.identityPaths = [ "/home/sako/.ssh/id_ed25519" ];
age.secrets.test.file = ../../secrets/test.age;
# lol
services.xserver.dpi = 100;
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";
}