mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
This commit is contained in:
parent
d0f432b717
commit
ad2241586e
49 changed files with 3232 additions and 3893 deletions
9
pkgs/endme/default.nix
Normal file
9
pkgs/endme/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ name, writeShellApplication, ... }:
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
text = ''
|
||||
set -euo pipefail
|
||||
systemctl --user stop graphical-session.target
|
||||
systemctl --user stop graphical-session-pre.target
|
||||
'';
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ let
|
|||
base = pkgs.appimageTools.defaultFhsEnvArgs;
|
||||
in
|
||||
pkgs.buildFHSEnv (base // {
|
||||
name = "fhs";
|
||||
inherit name;
|
||||
targetPkgs = pkgs: (base.targetPkgs pkgs) ++ [ pkgs.pkg-config ];
|
||||
profile = "export FHS=1";
|
||||
runScript = "zsh";
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
{ self, name, writeShellApplication, sway }:
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ sway ];
|
||||
text = builtins.readFile "${self}/files/scripts/${name}.sh";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue