Deploy script
This commit is contained in:
parent
54c96acfc3
commit
c171631192
12
flake.nix
12
flake.nix
@ -96,5 +96,17 @@
|
||||
in genAttrs hosts mkHost;
|
||||
legacyPackages.x86_64-linux =
|
||||
(builtins.head (builtins.attrValues self.nixosConfigurations)).pkgs;
|
||||
|
||||
# nix run github:serokell/deploy
|
||||
# Because sudo requires local presence of my Yubikey, we have to manually activate the system
|
||||
# sudo nix-env -p /nix/var/nix/profiles/system --set /nix/var/nix/profiles/per-user/balsoft/system;
|
||||
# sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch
|
||||
deploy = {
|
||||
user = "balsoft";
|
||||
nodes = builtins.mapAttrs (_: conf: {
|
||||
hostname = conf.config.networking.hostName;
|
||||
profiles.system.path = conf.config.system.build.toplevel;
|
||||
}) self.nixosConfigurations;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -8,6 +8,9 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'package)
|
||||
|
||||
(package-initialize)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'use-package))
|
||||
|
@ -37,6 +37,7 @@
|
||||
nix-patch
|
||||
inputs.yt-utilities.defaultPackage.x86_64-linux
|
||||
pass-wayland
|
||||
papirus-icon-theme
|
||||
] ++ (with pkgs.kdeApplications; [
|
||||
ark
|
||||
dolphin
|
||||
|
@ -49,8 +49,8 @@ in {
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.gnome3.adwaita-icon-theme;
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
theme = {
|
||||
name = "Generated";
|
||||
|
@ -8,7 +8,7 @@ with import ../../../support.nix { inherit lib config; }; {
|
||||
pkgs.flatpak
|
||||
pkgs.firefox
|
||||
pkgs.systemd
|
||||
pkgs.gnome3.adwaita-icon-theme
|
||||
pkgs.papirus-icon-theme
|
||||
];
|
||||
nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
|
||||
environment.sessionVariables = {
|
||||
@ -127,7 +127,7 @@ with import ../../../support.nix { inherit lib config; }; {
|
||||
contrast = 4;
|
||||
widgetStyle = "Breeze";
|
||||
};
|
||||
Icons = { Theme = "Adwaita"; };
|
||||
Icons = { Theme = "Papirus-Dark"; };
|
||||
};
|
||||
home-manager.users.balsoft.home.activation."user-places.xbel" = {
|
||||
data = ''
|
||||
|
Loading…
Reference in New Issue
Block a user