Update common.nix
This commit is contained in:
parent
c08f0be157
commit
64d992ec7b
1 changed files with 45 additions and 45 deletions
10
common.nix
10
common.nix
|
|
@ -2,7 +2,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./settings/gnome.nix
|
||||
./settings/locale.nix
|
||||
|
|
@ -10,7 +9,6 @@ imports = [
|
|||
./settings/users.nix
|
||||
./apps/fastfetch.nix
|
||||
./apps/flatpaks.nix
|
||||
# Add all your hosts here
|
||||
];
|
||||
|
||||
# Use latest kernel
|
||||
|
|
@ -41,6 +39,11 @@ environment.shellAliases = {
|
|||
fi
|
||||
|
||||
sudo nix-channel --update
|
||||
|
||||
# Wipe the flatpak state cache to ensure a fresh sync
|
||||
echo "Cleaning Flatpak state cache..."
|
||||
sudo rm -f /nix/var/nix/gcroots/flatpak-state.json
|
||||
|
||||
sudo nixos-rebuild switch --upgrade --option tarball-ttl 0
|
||||
'';
|
||||
clean = "sudo nix-collect-garbage -d";
|
||||
|
|
@ -53,7 +56,4 @@ environment.systemPackages = with pkgs; [
|
|||
git
|
||||
adwaita-icon-theme
|
||||
];
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue