2023-09-13 15:19:10 +04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
inputs,
|
|
|
|
outputs,
|
2023-09-18 13:28:56 +04:00
|
|
|
...
|
2023-09-13 15:19:10 +04:00
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
# Hardware Configuration
|
2024-06-22 15:05:20 +04:00
|
|
|
# TODO:: Add this back once generated!!!!!!!
|
2024-06-22 15:07:27 +04:00
|
|
|
./hardware-configuration.nix
|
2023-09-13 15:19:10 +04:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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;
|
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;
|
2023-09-13 15:19:10 +04:00
|
|
|
};
|
2023-09-18 13:28:56 +04:00
|
|
|
browsers = {
|
|
|
|
firefox.enable = true;
|
|
|
|
qutebrowser.enable = false;
|
|
|
|
chromium.enable = true;
|
2023-09-13 15:19:10 +04:00
|
|
|
};
|
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;
|
2024-07-05 10:44:36 +04:00
|
|
|
signal.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;
|
2023-09-13 15:19:10 +04:00
|
|
|
};
|
|
|
|
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;
|
2023-09-13 15:19:10 +04:00
|
|
|
};
|
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-13 15:19:10 +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;
|
2023-09-13 15:19:10 +04:00
|
|
|
};
|
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;
|
2023-09-13 15:19:10 +04:00
|
|
|
};
|
|
|
|
};
|
2023-12-03 14:16:32 +04:00
|
|
|
|
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-07-04 23:19:01 +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-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";
|
2023-12-03 14:16:32 +04:00
|
|
|
# DO NOT CHANGE THIS!!!!
|
|
|
|
# ONLY CHANGE WHEN FULLY REINSTALLING
|
|
|
|
# OR USING NEW SYSTEMS
|
2024-07-03 22:42:09 +04:00
|
|
|
system.stateVersion = "24.05";
|
2023-09-13 15:19:10 +04:00
|
|
|
}
|