nixos/hosts/sakopc/configuration.nix

128 lines
3.1 KiB
Nix
Raw Permalink Normal View History

2024-10-02 16:57:09 +04:00
{ config, pkgs, lib, inputs, outputs, ... }: {
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 = {
flatpak.enable = true;
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;
2024-09-17 21:52:07 +04:00
picom.enable = false;
dunst.enable = false;
2023-09-18 13:28:56 +04:00
apps = {
2023-09-21 18:49:41 +04:00
nextcloud.enable = true;
2024-11-15 20:07:51 +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;
2024-09-17 21:52:07 +04:00
chromium.enable = false;
};
2023-09-18 13:28:56 +04:00
chat = {
zoom.enable = true;
2023-10-08 14:48:49 +04:00
discord.enable = true;
2024-11-03 16:18:21 +04:00
thunderbird.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-11-30 22:37:19 +04:00
element.enable = true;
2024-10-08 20:17:17 +04:00
gajim.enable = true;
2024-10-12 11:23:13 +04:00
psi-plus.enable = true;
2023-09-18 13:28:56 +04:00
};
game = {
2024-11-15 20:00:19 +04:00
#lutris.enable = true;
steam.enable = true;
2023-09-18 13:28:56 +04:00
wine.enable = true;
2024-03-02 22:36:03 +04:00
tetrio.enable = true;
2024-11-28 16:38:42 +04:00
prismlauncher.enable = true;
};
media = {
2023-09-18 13:28:56 +04:00
mpv.enable = true;
ardour.enable = true;
2023-09-18 13:28:56 +04:00
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;
jellyfin.enable = false;
};
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
};
2024-11-15 20:06:59 +04:00
#vscode.enable = true;
};
2024-10-02 17:45:39 +04:00
nixd.enable = true;
2023-09-18 13:28:56 +04:00
};
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;
};
2024-11-03 16:13:03 +04:00
work = { onlyoffice.enable = true; };
security = {
certs.enable = true;
tor.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 = ''
2024-10-02 16:57:09 +04:00
${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-10-02 16:57:09 +04:00
# secrets
age.identityPaths = [ "/home/sako/.ssh/id_ed25519" ];
age.secrets.test.file = ../../secrets/test.age;
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";
}