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;
|
in genAttrs hosts mkHost;
|
||||||
legacyPackages.x86_64-linux =
|
legacyPackages.x86_64-linux =
|
||||||
(builtins.head (builtins.attrValues self.nixosConfigurations)).pkgs;
|
(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:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'package)
|
||||||
|
|
||||||
|
(package-initialize)
|
||||||
|
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'use-package))
|
(require 'use-package))
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
nix-patch
|
nix-patch
|
||||||
inputs.yt-utilities.defaultPackage.x86_64-linux
|
inputs.yt-utilities.defaultPackage.x86_64-linux
|
||||||
pass-wayland
|
pass-wayland
|
||||||
|
papirus-icon-theme
|
||||||
] ++ (with pkgs.kdeApplications; [
|
] ++ (with pkgs.kdeApplications; [
|
||||||
ark
|
ark
|
||||||
dolphin
|
dolphin
|
||||||
|
@ -49,8 +49,8 @@ in {
|
|||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
name = "Adwaita";
|
name = "Papirus-Dark";
|
||||||
package = pkgs.gnome3.adwaita-icon-theme;
|
package = pkgs.papirus-icon-theme;
|
||||||
};
|
};
|
||||||
theme = {
|
theme = {
|
||||||
name = "Generated";
|
name = "Generated";
|
||||||
|
@ -8,7 +8,7 @@ with import ../../../support.nix { inherit lib config; }; {
|
|||||||
pkgs.flatpak
|
pkgs.flatpak
|
||||||
pkgs.firefox
|
pkgs.firefox
|
||||||
pkgs.systemd
|
pkgs.systemd
|
||||||
pkgs.gnome3.adwaita-icon-theme
|
pkgs.papirus-icon-theme
|
||||||
];
|
];
|
||||||
nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
|
nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
@ -127,7 +127,7 @@ with import ../../../support.nix { inherit lib config; }; {
|
|||||||
contrast = 4;
|
contrast = 4;
|
||||||
widgetStyle = "Breeze";
|
widgetStyle = "Breeze";
|
||||||
};
|
};
|
||||||
Icons = { Theme = "Adwaita"; };
|
Icons = { Theme = "Papirus-Dark"; };
|
||||||
};
|
};
|
||||||
home-manager.users.balsoft.home.activation."user-places.xbel" = {
|
home-manager.users.balsoft.home.activation."user-places.xbel" = {
|
||||||
data = ''
|
data = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user