mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-17 05:05:06 +01:00
Compare commits
No commits in common. "3b0cba6caef23ca744058be99603868d2bffdd8b" and "035aa2a0fe50a1cdd8719d4ddd310ded57d91165" have entirely different histories.
3b0cba6cae
...
035aa2a0fe
2 changed files with 0 additions and 47 deletions
|
|
@ -21,7 +21,6 @@ in
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./wallpaper.nix
|
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
./swaync.nix
|
./swaync.nix
|
||||||
];
|
];
|
||||||
|
|
@ -62,19 +61,6 @@ in
|
||||||
exec swaylock
|
exec swaylock
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
(pkgs.writeShellApplication {
|
|
||||||
name = "shell.nix";
|
|
||||||
text = ''
|
|
||||||
cat > shell.nix <<EOF
|
|
||||||
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [ ];
|
|
||||||
packages = with pkgs; [ ];
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
echo "use nix" > .envrc
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
] ++ import ./common-packages.nix { inherit pkgs inputs; };
|
] ++ import ./common-packages.nix { inherit pkgs inputs; };
|
||||||
|
|
||||||
# Nicely reload system units when changing configs
|
# Nicely reload system units when changing configs
|
||||||
|
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
{ pkgs, config, ... }:
|
|
||||||
|
|
||||||
|
|
||||||
let
|
|
||||||
pkg = (import
|
|
||||||
(pkgs.fetchFromGitHub {
|
|
||||||
owner = "Noratrieb";
|
|
||||||
repo = "wallpapersc";
|
|
||||||
rev = "ce0def46fd0ae8d36b65ede91e068c4bca2cf9a6";
|
|
||||||
hash = "sha256-GSBFoAElnkh0+adIqSPKwJlyYiwp4NDhsOpT+SoZv5I=";
|
|
||||||
}))
|
|
||||||
{ inherit pkgs; };
|
|
||||||
in
|
|
||||||
{
|
|
||||||
systemd.user.services.wallpapersc = {
|
|
||||||
Unit = {
|
|
||||||
Description = "wallpaper daemon";
|
|
||||||
PartOf = [
|
|
||||||
config.wayland.systemd.target
|
|
||||||
];
|
|
||||||
After = [ config.wayland.systemd.target ];
|
|
||||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
|
||||||
};
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${pkg}/bin/wallpapersc";
|
|
||||||
Restart = "on-failure";
|
|
||||||
};
|
|
||||||
|
|
||||||
Install.WantedBy = [
|
|
||||||
config.wayland.systemd.target
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue