Move some package definitions from system to home

Remove thunar, effectively replaced by rofi + terminal
Add some alias to quickly update nixos and home-manager
This commit is contained in:
Evie Litherland-Smith 2023-07-18 14:51:53 +01:00
parent 200e87c37e
commit e65675da02
3 changed files with 6 additions and 16 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [./default.nix]; imports = [./default.nix];
home.packages = with pkgs; [dig silver-searcher gnumake];
programs = { programs = {
fish = { fish = {
enable = true; enable = true;

View file

@ -23,13 +23,11 @@ in {
ll = "ls -laF"; ll = "ls -laF";
gg = "gitui"; gg = "gitui";
lg = "lazygit"; lg = "lazygit";
nixos-upgrade = "sudo nixos-rebuild switch --flake ${flakeURL}"; nv = "WAYLAND_DISPLAY= neovide --multigrid --maximized";
home-manager-switch = "${pkgs.home-manager}/bin/home-manager switch --flake ${flakeURL}"; nosu = "sudo nixos-rebuild switch --flake ${flakeURL}";
hms = "${pkgs.home-manager}/bin/home-manager switch --flake ${flakeURL}";
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [distrobox];
gnumake
distrobox
];
}; };
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;

View file

@ -46,14 +46,5 @@
enable = true; enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk]; extraPortals = with pkgs; [xdg-desktop-portal-gtk];
}; };
programs = { programs.hyprland.enable = true;
hyprland.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
};
} }