2020-11-09 21:26:38 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
2021-02-08 18:32:34 +00:00
|
|
|
with lib;
|
|
|
|
|
2020-11-09 21:26:38 +00:00
|
|
|
{
|
2022-07-15 11:02:19 +00:00
|
|
|
imports = [ ./appearance.nix ];
|
|
|
|
|
2022-07-06 16:18:46 +00:00
|
|
|
home.keyboard = {
|
|
|
|
layout = "us";
|
|
|
|
options = [ "ctrl:nocaps" "compose:ralt" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
xsession.enable = true;
|
2021-03-12 14:55:29 +00:00
|
|
|
|
2020-11-09 21:26:38 +00:00
|
|
|
home.packages = with pkgs;
|
2021-02-24 20:43:26 +00:00
|
|
|
let
|
|
|
|
gn = pkgs.gnome3;
|
2021-07-25 19:23:05 +00:00
|
|
|
evolution = pkgs.evolutionWithPlugins.override {
|
|
|
|
plugins = [ pkgs.evolution pkgs.evolution-ews ];
|
|
|
|
};
|
2020-11-09 21:26:38 +00:00
|
|
|
in [
|
2022-07-15 11:27:07 +00:00
|
|
|
feh
|
|
|
|
betterlockscreen
|
2022-07-26 20:48:04 +00:00
|
|
|
xclip
|
2020-11-09 21:26:38 +00:00
|
|
|
|
2020-11-21 15:51:37 +00:00
|
|
|
gn.gnome-tweaks
|
|
|
|
mate.atril
|
|
|
|
mate.caja
|
|
|
|
libreoffice-fresh
|
|
|
|
inkscape
|
2021-01-22 08:59:02 +00:00
|
|
|
krita
|
2021-02-15 09:57:21 +00:00
|
|
|
nyxt
|
2021-02-17 20:50:59 +00:00
|
|
|
lagrange
|
2022-03-12 18:38:57 +00:00
|
|
|
tor-browser-bundle-bin
|
2022-02-13 15:04:18 +00:00
|
|
|
evolution
|
2022-05-20 11:01:47 +00:00
|
|
|
calibre
|
2022-03-15 17:08:12 +00:00
|
|
|
obsidian
|
2022-04-07 20:08:30 +00:00
|
|
|
flameshot
|
2022-04-26 14:52:56 +00:00
|
|
|
gitkraken
|
2022-06-30 20:10:31 +00:00
|
|
|
discord
|
2022-07-15 11:27:07 +00:00
|
|
|
keybase-gui
|
2020-11-21 15:51:37 +00:00
|
|
|
|
2021-02-01 21:04:19 +00:00
|
|
|
openshot-qt
|
2020-11-21 15:51:37 +00:00
|
|
|
blender
|
2020-12-30 20:27:53 +00:00
|
|
|
asunder
|
2020-11-21 15:51:37 +00:00
|
|
|
gn.cheese
|
|
|
|
vlc
|
|
|
|
v4l-utils
|
2021-05-07 19:44:36 +00:00
|
|
|
handbrake
|
2020-11-21 15:51:37 +00:00
|
|
|
darktable
|
|
|
|
pavucontrol
|
|
|
|
vorbis-tools
|
|
|
|
audacity
|
|
|
|
pulseaudio
|
|
|
|
jack2
|
|
|
|
cadence
|
2022-07-26 20:48:04 +00:00
|
|
|
helvum
|
2020-12-18 16:30:30 +00:00
|
|
|
blueman
|
2021-11-24 17:54:00 +00:00
|
|
|
blanket
|
2020-11-21 15:51:37 +00:00
|
|
|
|
2021-01-13 19:00:16 +00:00
|
|
|
signal-desktop
|
2020-11-21 15:51:37 +00:00
|
|
|
slack
|
|
|
|
teams
|
2021-01-13 19:00:16 +00:00
|
|
|
zoom-us
|
2022-08-23 19:56:14 +00:00
|
|
|
tdesktop
|
2021-02-15 09:57:21 +00:00
|
|
|
|
2022-07-29 20:00:14 +00:00
|
|
|
wineWowPackages.staging
|
|
|
|
winetricks
|
2021-07-16 07:46:32 +00:00
|
|
|
|
|
|
|
nextcloud-client
|
2021-10-11 14:05:00 +00:00
|
|
|
|
2022-08-23 19:56:14 +00:00
|
|
|
openttd
|
|
|
|
|
2021-10-11 14:05:00 +00:00
|
|
|
iosevka
|
|
|
|
fira
|
|
|
|
fira-code
|
|
|
|
merriweather
|
|
|
|
gentium
|
|
|
|
gentium-book-basic
|
|
|
|
open-sans
|
|
|
|
joypixels
|
|
|
|
noto-fonts-emoji
|
|
|
|
font-awesome
|
|
|
|
emojione
|
|
|
|
league-of-moveable-type
|
2021-12-30 11:09:59 +00:00
|
|
|
corefonts
|
|
|
|
vistafonts
|
|
|
|
carlito
|
|
|
|
caladea
|
2022-07-29 20:00:36 +00:00
|
|
|
atkinson-hyperlegible
|
2020-11-09 21:26:38 +00:00
|
|
|
];
|
|
|
|
|
2021-08-06 11:12:04 +00:00
|
|
|
home.activation = {
|
|
|
|
installFace = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
|
|
$DRY_RUN_CMD cp --force --dereference --no-preserve=ownership $VERBOSE_ARG \
|
|
|
|
${./images/cat.jpg} $HOME/.face
|
|
|
|
'';
|
|
|
|
};
|
2020-11-24 21:06:24 +00:00
|
|
|
xdg.configFile = {
|
2021-07-25 19:23:05 +00:00
|
|
|
"wofi".source = ./wofi;
|
2020-11-26 08:52:34 +00:00
|
|
|
"kitty/sessions/default.conf".text = ''
|
2021-08-04 11:21:11 +00:00
|
|
|
layout tall
|
|
|
|
launch ${pkgs.ncmpcpp}/bin/ncmpcpp
|
2022-08-23 19:56:14 +00:00
|
|
|
launch ${pkgs.btop}/bin/btop
|
2021-08-04 11:21:11 +00:00
|
|
|
|
|
|
|
new_tab
|
|
|
|
|
2021-06-01 13:24:32 +00:00
|
|
|
layout tall
|
2020-11-26 08:52:34 +00:00
|
|
|
cd ~
|
|
|
|
'';
|
2021-07-25 19:23:05 +00:00
|
|
|
"waybar".source = ./waybar;
|
2020-11-09 21:26:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
home.activation = {
|
2020-11-21 15:51:37 +00:00
|
|
|
updateFcCache = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
2020-11-09 21:26:38 +00:00
|
|
|
$DRY_RUN_CMD fc-cache -f
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2021-10-11 14:05:00 +00:00
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
|
2020-11-09 21:26:38 +00:00
|
|
|
programs.mako = {
|
|
|
|
enable = true;
|
|
|
|
defaultTimeout = 10000;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.gammastep = {
|
2022-07-04 10:33:45 +00:00
|
|
|
enable = false;
|
|
|
|
provider = "manual";
|
|
|
|
latitude = 54.0;
|
|
|
|
longitude = 1.0;
|
|
|
|
tray = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.redshift = {
|
2020-11-09 21:26:38 +00:00
|
|
|
enable = true;
|
2021-05-07 19:44:03 +00:00
|
|
|
provider = "manual";
|
|
|
|
latitude = 54.0;
|
|
|
|
longitude = 1.0;
|
2020-11-09 21:26:38 +00:00
|
|
|
tray = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
2021-09-25 13:51:00 +00:00
|
|
|
font = {
|
|
|
|
name = "Iosevka Medium";
|
|
|
|
package = pkgs.iosevka;
|
|
|
|
size = 11;
|
|
|
|
};
|
2020-11-09 21:26:38 +00:00
|
|
|
settings = {
|
2020-11-21 15:51:37 +00:00
|
|
|
allow_remote_control = true;
|
2020-11-09 21:26:38 +00:00
|
|
|
listen_on = "unix:\${XDG_RUNTIME_DIR}/kitty.sock";
|
|
|
|
|
|
|
|
enable_audio_bell = false;
|
|
|
|
visual_bell_duration = "0.1";
|
|
|
|
};
|
2021-09-25 14:12:20 +00:00
|
|
|
extraConfig = ''
|
2021-10-11 14:05:45 +00:00
|
|
|
include ${./colours/Monokai.conf}
|
2021-09-25 14:12:20 +00:00
|
|
|
'';
|
2020-11-09 21:26:38 +00:00
|
|
|
};
|
|
|
|
|
2022-06-30 20:10:54 +00:00
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [ pkgs.rofi-emoji pkgs.rofi-pass ];
|
|
|
|
theme = "gruvbox-dark-soft";
|
|
|
|
terminal = pkgs.alacritty + /bin/alacritty;
|
|
|
|
};
|
|
|
|
|
2022-07-15 11:26:52 +00:00
|
|
|
programs.chromium = {
|
|
|
|
enable = true;
|
|
|
|
extensions = [
|
|
|
|
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # uBlock origin
|
|
|
|
{ id = "hdokiejnpimakedhajhdlcegeplioahd"; } # LastPass
|
|
|
|
{ id = "ldgfbffkinooeloadekpmfoklnobpien"; } # raindrop.io
|
|
|
|
{ id = "kkhfnlkhiapbiehimabddjbimfaijdhk"; } # gopass bridge
|
|
|
|
{ id = "ldpochfccmkkmhdbclfhpagapcfdljkj"; } # DecentralEyes
|
2022-07-29 20:01:17 +00:00
|
|
|
{ id = "ekhagklcjbdpajgpjgmbionohlpdbjgc"; } # Zotero connector
|
2022-08-23 19:56:14 +00:00
|
|
|
{ id = "lckanjgmijmafbedllaakclkaicjfmnk"; } # ClearURLs
|
|
|
|
{ id = "eimadpbcbfnmbkopoojfekhnkhdbieeh"; } # DarkReader
|
2022-07-15 11:26:52 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2021-02-08 18:32:34 +00:00
|
|
|
programs.qutebrowser.enable = true;
|
2021-07-28 17:37:49 +00:00
|
|
|
programs.element-desktop.enable = true;
|
2020-11-09 21:26:38 +00:00
|
|
|
|
2020-11-16 16:02:48 +00:00
|
|
|
programs.obs-studio = {
|
|
|
|
enable = true;
|
2021-06-24 19:24:18 +00:00
|
|
|
plugins = with pkgs.obs-studio-plugins; [ wlrobs ];
|
2020-11-16 16:02:48 +00:00
|
|
|
};
|
|
|
|
|
2020-11-21 15:51:37 +00:00
|
|
|
programs.ncmpcpp.settings = { user_interface = "alternative"; };
|
2020-11-09 21:26:38 +00:00
|
|
|
|
|
|
|
services.syncthing.enable = true;
|
2021-07-16 07:46:32 +00:00
|
|
|
services.nextcloud-client.enable = true;
|
2020-11-09 21:26:38 +00:00
|
|
|
}
|