✨ Just recipe to update single flake, moved some home configs
This commit is contained in:
parent
11e8f2f8c6
commit
b5c273e072
@ -57,5 +57,11 @@ Update and switch
|
|||||||
- Will update the flakes and nix-channel, then switch if there are no errors
|
- Will update the flakes and nix-channel, then switch if there are no errors
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
just update
|
just update-all
|
||||||
|
```
|
||||||
|
|
||||||
|
To update a single flake and rebuild
|
||||||
|
|
||||||
|
```Shell
|
||||||
|
just update zen-browser
|
||||||
```
|
```
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
flavor = theme.flavor;
|
flavor = theme.flavor;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.btop.enable = true;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
inputs,
|
inputs,
|
||||||
common,
|
common,
|
||||||
...
|
...
|
||||||
@ -20,6 +19,7 @@ in
|
|||||||
./fish.nix
|
./fish.nix
|
||||||
./freetube.nix
|
./freetube.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
|
./gpg.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./media
|
./media
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
@ -31,8 +31,6 @@ in
|
|||||||
./zen
|
./zen
|
||||||
];
|
];
|
||||||
|
|
||||||
dconf.enable = true;
|
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = username;
|
username = username;
|
||||||
homeDirectory = dir.home;
|
homeDirectory = dir.home;
|
||||||
@ -47,17 +45,6 @@ in
|
|||||||
stateVersion = common.system.version;
|
stateVersion = common.system.version;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
# Let Home Manager install and manage itself.
|
||||||
btop.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
home-manager.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
gpg-agent = {
|
|
||||||
enable = true;
|
|
||||||
pinentryPackage = pkgs.pinentry-curses;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
9
home-manager/gpg.nix
Normal file
9
home-manager/gpg.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.gpg-agent = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
pinentryPackage = pkgs.pinentry-curses;
|
||||||
|
};
|
||||||
|
}
|
@ -1,15 +1,19 @@
|
|||||||
{ theme, ... }:
|
{ theme, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# TODO deprecated, remove
|
||||||
catppuccin.gtk = {
|
catppuccin.gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
flavor = theme.flavor;
|
flavor = theme.flavor;
|
||||||
icon.enable = true;
|
icon.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf.settings = {
|
dconf = {
|
||||||
# Prefer dark mode for all GTK apps
|
enable = true;
|
||||||
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
settings = {
|
||||||
|
# Prefer dark mode for all GTK apps
|
||||||
|
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
6
justfile
6
justfile
@ -17,12 +17,16 @@ switch *FLAGS:
|
|||||||
switch-now *FLAGS:
|
switch-now *FLAGS:
|
||||||
nh os switch . {{FLAGS}}
|
nh os switch . {{FLAGS}}
|
||||||
|
|
||||||
update:
|
update-all:
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
||||||
just switch
|
just switch
|
||||||
|
|
||||||
|
update PKG:
|
||||||
|
nix flake update {{PKG}}
|
||||||
|
just switch
|
||||||
|
|
||||||
# Encrypt all files in the repo using git-crypt
|
# Encrypt all files in the repo using git-crypt
|
||||||
lock:
|
lock:
|
||||||
git-crypt lock
|
git-crypt lock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user