Refactor
Move more stuff into home manager as appropriate. Use 'personal' instead of 'home' for non-work stuff.
This commit is contained in:
parent
5f9cada55b
commit
a76299e62f
7 changed files with 15 additions and 19 deletions
|
|
@ -10,7 +10,7 @@
|
|||
./hardware-configuration.nix
|
||||
../modules/base.nix
|
||||
../modules/desktop.nix
|
||||
../modules/home.nix
|
||||
../modules/personal.nix
|
||||
../modules/laptop.nix
|
||||
../modules/sway.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
../modules/base.nix
|
||||
../modules/desktop.nix
|
||||
../modules/brother-printer.nix
|
||||
../modules/home.nix
|
||||
../modules/personal.nix
|
||||
../modules/sway.nix
|
||||
../modules/syncthing.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bitwarden-desktop
|
||||
libreoffice-fresh
|
||||
meld
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
# Mullvad vpn
|
||||
services.mullvad-vpn = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
foliate
|
||||
inputs.locutus.packages.${pkgs.system}.default
|
||||
jrnl
|
||||
mullvad-browser
|
||||
mullvad-vpn
|
||||
tor-browser
|
||||
exiftool
|
||||
digikam
|
||||
shotwell
|
||||
nextcloud-client
|
||||
bitwarden-desktop
|
||||
signal-desktop
|
||||
spotify
|
||||
gemini-cli
|
||||
|
||||
(symlinkJoin {
|
||||
name = "darktable";
|
||||
paths = [ darktable ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
postBuild = ''
|
||||
# Remove the symlink to the original binary
|
||||
rm $out/bin/darktable
|
||||
|
||||
# Create a wrapper that points to the cached original
|
||||
makeWrapper ${darktable}/bin/darktable $out/bin/darktable \
|
||||
--set GDK_BACKEND wayland
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
||||
8
hosts/modules/personal.nix
Normal file
8
hosts/modules/personal.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
# Mullvad vpn
|
||||
services.mullvad-vpn = {
|
||||
enable = true;
|
||||
package = pkgs.mullvad-vpn;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue