nixos/hosts/sakopc/configuration.nix

130 lines
2.9 KiB
Nix
Raw Normal View History

{
2024-07-05 21:04:25 +04:00
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-08-29 18:34:16 +04:00
wireguard.enable = true;
2024-07-05 21:04:25 +04:00
printing.enable = true;
2024-03-02 22:36:03 +04:00
bspwm = {
2024-08-26 17:33:42 +04:00
enable = false;
polybar.enable = false;
2024-03-02 22:36:03 +04:00
};
2024-08-26 17:33:42 +04:00
hyprland.enable = true;
foot.enable = true;
2023-09-18 13:28:56 +04:00
kitty.enable = true;
picom.enable = true;
2024-07-05 10:54:33 +04:00
dunst.enable = true;
2023-09-18 13:28:56 +04:00
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;
2024-07-05 11:53:58 +04:00
localsend.enable = true;
2024-07-05 17:45:49 +04:00
nemo.enable = true;
2024-09-05 14:42:12 +04:00
anki.enable = true;
};
2023-09-18 13:28:56 +04:00
browsers = {
firefox.enable = true;
2024-09-12 16:00:03 +04:00
qutebrowser.enable = false;
2023-09-18 13:28:56 +04:00
chromium.enable = true;
};
2023-09-18 13:28:56 +04:00
chat = {
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;
2024-07-05 10:44:36 +04:00
signal.enable = true;
2024-09-02 11:19:46 +04:00
element.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;
2024-07-05 14:45:10 +04:00
feishin.enable = true;
2024-08-27 17:34:26 +04:00
jellyfin.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;
2024-08-26 17:33:42 +04:00
package = pkgs.emacs-unstable-pgtk;
2024-03-02 22:36:03 +04:00
};
};
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 = {
2024-07-05 14:41:28 +04:00
mpd.enable = false;
ncmpcpp.enable = false;
mopidy.enable = false;
2023-09-18 13:28:56 +04:00
};
shell = {
nix = {
2023-09-20 07:38:46 +04:00
optimize.enable = true;
2023-09-18 13:28:56 +04:00
search.enable = true;
2024-08-23 14:07:31 +04:00
switch-to-configuration-ng.enable = true;
nh.enable = true;
2024-09-01 12:16:20 +04:00
tree.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:32:01 +04:00
# lol
2024-07-04 23:33:26 +04:00
services.xserver.dpi = 100;
2024-07-04 23:29:32 +04:00
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";
}