2024-10-02 16:57:09 +04:00
|
|
|
{ config, pkgs, lib, inputs, outputs, ... }: {
|
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-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;
|
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-13 15:19:10 +04:00
|
|
|
};
|
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-13 15:19:10 +04:00
|
|
|
};
|
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;
|
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 = {
|
|
|
|
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;
|
2024-09-26 20:48:19 +04:00
|
|
|
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;
|
2024-09-26 20:48:19 +04:00
|
|
|
jellyfin.enable = false;
|
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;
|
2024-08-26 17:33:42 +04:00
|
|
|
package = pkgs.emacs-unstable-pgtk;
|
2024-03-02 22:36:03 +04:00
|
|
|
};
|
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;
|
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-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;
|
|
|
|
};
|
2024-10-08 20:16:51 +04:00
|
|
|
security = {
|
|
|
|
certs.enable = true;
|
|
|
|
tor.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-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";
|
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
|
|
|
}
|