2022-03-23 13:10:18 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
2022-05-30 18:35:52 +02:00
|
|
|
inherit (lib.hm.gvariant) mkTuple;
|
2022-01-16 15:55:11 +01:00
|
|
|
bg = pkgs.fetchurl {
|
|
|
|
url = "https://images.pexels.com/photos/2559941/pexels-photo-2559941.jpeg";
|
2023-10-30 14:33:03 +01:00
|
|
|
hash = (builtins.import ../../hashes.nix).pexel-bg.hash;
|
2022-01-16 15:55:11 +01:00
|
|
|
};
|
2023-11-16 10:12:56 +01:00
|
|
|
|
|
|
|
operaFixed = lib.warn "Has opera been fixed yet? (https://github.com/NixOS/nixpkgs/pull/120891)" (pkgs.opera.overrideAttrs (old: {
|
|
|
|
buildInputs =
|
|
|
|
old.buildInputs
|
|
|
|
++ [
|
|
|
|
pkgs.libdrm
|
|
|
|
pkgs.mesa
|
|
|
|
];
|
|
|
|
}));
|
2021-12-26 23:01:36 +01:00
|
|
|
in {
|
2024-02-03 21:02:24 +01:00
|
|
|
imports = [
|
|
|
|
../modules/restic-backup.nix
|
|
|
|
../modules/profiles-cleanup.nix
|
|
|
|
];
|
2021-12-26 23:01:36 +01:00
|
|
|
|
2022-01-13 21:27:08 +01:00
|
|
|
config = {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
bitwarden
|
|
|
|
element-desktop
|
|
|
|
fd
|
2022-05-27 22:07:23 +02:00
|
|
|
firefox-wayland
|
2022-01-13 21:27:08 +01:00
|
|
|
git
|
|
|
|
gnome.gnome-sound-recorder
|
2023-04-15 00:43:38 +02:00
|
|
|
libreoffice
|
2022-01-13 21:27:08 +01:00
|
|
|
okular
|
2023-11-16 10:12:56 +01:00
|
|
|
operaFixed
|
2022-01-13 21:27:08 +01:00
|
|
|
shotwell
|
|
|
|
signal-desktop
|
|
|
|
skypeforlinux
|
2022-10-15 12:50:04 +02:00
|
|
|
sshfs
|
2022-01-13 21:27:08 +01:00
|
|
|
tdesktop
|
2022-01-18 13:00:38 +01:00
|
|
|
texlive.combined.scheme-full
|
|
|
|
texmaker
|
2022-01-13 21:27:08 +01:00
|
|
|
ungoogled-chromium
|
|
|
|
unzip
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: Improve
|
|
|
|
programs.broot.enable = true;
|
|
|
|
programs.fish.enable = true;
|
2021-12-30 16:06:02 +01:00
|
|
|
|
2024-02-03 21:02:24 +01:00
|
|
|
xdg.enable = true;
|
|
|
|
|
2022-01-13 21:27:08 +01:00
|
|
|
services.restic = {
|
|
|
|
enable = true;
|
2022-05-18 17:01:39 +02:00
|
|
|
paths = ["/home/marie/Uni" "/home/marie/Bilder" "/home/marie/Promotion"];
|
2021-12-26 23:01:36 +01:00
|
|
|
};
|
2022-01-13 21:27:08 +01:00
|
|
|
|
|
|
|
programs.mpv = {
|
|
|
|
enable = true;
|
2022-12-08 12:07:35 +01:00
|
|
|
package = pkgs.mpv;
|
2021-12-26 23:01:36 +01:00
|
|
|
};
|
2022-01-13 21:27:08 +01:00
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/peripherals/touchpad" = {
|
|
|
|
tap-to-click = true;
|
|
|
|
two-finger-scrolling-enabled = true;
|
|
|
|
};
|
|
|
|
"org/gnome/desktop/input-sources" = {
|
|
|
|
per-window = false;
|
2022-03-23 13:10:18 +01:00
|
|
|
sources = [(mkTuple ["xkb" "de"]) (mkTuple ["xkb" "us+workman"])];
|
|
|
|
xkb-options = ["compose:rctrl"];
|
2022-01-13 21:27:08 +01:00
|
|
|
};
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
enable-hot-corners = false;
|
|
|
|
show-battery-percentage = true;
|
|
|
|
};
|
2022-03-23 13:10:18 +01:00
|
|
|
"org/gnome/desktop/background" = {picture-uri = "file://${bg}";};
|
2021-12-26 23:01:36 +01:00
|
|
|
};
|
2022-08-15 09:47:37 +02:00
|
|
|
|
|
|
|
home.stateVersion = "18.09";
|
2021-12-26 23:01:36 +01:00
|
|
|
};
|
|
|
|
}
|