added zotero package and persist cinnamon-monitors.xml

This commit is contained in:
Sam 2024-06-06 18:07:59 +01:00
parent f60f4bee7a
commit 861f58946b
3 changed files with 34 additions and 32 deletions

View File

@ -11,5 +11,6 @@
pkgs.zathura
pkgs.xfce.thunar
pkgs.kcolorchooser
pkgs.zotero
];
}

View File

@ -1,15 +1,11 @@
{
pkgs,
config,
lib,
...
{ inputs
, ...
}: {
imports = [
# Import users
./users/media
./common/core
./common/optional/sops.nix
# Import optional
./common/optional/git.nix
@ -17,4 +13,6 @@
./common/optional/desktop/cinnamon
];
colorScheme = inputs.nix-colors.colorSchemes.kanagawa;
}

View File

@ -40,6 +40,7 @@ in
".local"
];
files = [
".config/cinnamon-monitors.xml"
];
};
};
@ -64,11 +65,13 @@ in
# The containing ssh folders are created as root and if this is the first ~/.ssh/ entry when writing keys,
# the ownership is busted and home-manager can't target because it can't write into .ssh...
# FIXME: We might not need this depending on how https://github.com/Mic92/sops-nix/issues/381 is fixed
system.activationScripts.sopsSetSshOwnwership = let
system.activationScripts.sopsSetSshOwnwership =
let
sshFolder = "/home/${username}/.ssh";
user = config.users.users.${username}.name;
group = config.users.users.${username}.group;
in ''
in
''
mkdir -p ${sshFolder} || true
chown -R ${user}:${group} /home/${username}/.ssh
'';