changes 08-09-25
This commit is contained in:
54
flake.lock
generated
54
flake.lock
generated
@@ -272,11 +272,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753809622,
|
"lastModified": 1753983724,
|
||||||
"narHash": "sha256-66G3qmbOUJJEaxvH97S7I467ILMUV2nTkkRuoN/ZQq4=",
|
"narHash": "sha256-2vlAOJv4lBrE+P1uOGhZ1symyjXTRdn/mz0tZ6faQcg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "03fdb31290d1a4a8d23f52206283450d304c3841",
|
"rev": "7035020a507ed616e2b20c61491ae3eaa8e5462c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -377,11 +377,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753804949,
|
"lastModified": 1753978079,
|
||||||
"narHash": "sha256-WWUeMJs7kAIK1ZVqHf2acI6LV2U5X2Vbwql8qnnzif8=",
|
"narHash": "sha256-9VhQ8igwVxPonlMDwpkAyrcvIQ4FgR/LQF7NWl2YR4Q=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "f51be7f20109cd8eae87db96641aead843a3ef0b",
|
"rev": "9607e3b5a88f22017af64ab1ba360a39169a4bf7",
|
||||||
"revCount": 6321,
|
"revCount": 6330,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
@@ -547,11 +547,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752252310,
|
"lastModified": 1753800567,
|
||||||
"narHash": "sha256-06i1pIh6wb+sDeDmWlzuPwIdaFMxLlj1J9I5B9XqSeo=",
|
"narHash": "sha256-W0xgXsaqGa/5/7IBzKNhf0+23MqGPymYYfqT7ECqeTE=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprutils",
|
"repo": "hyprutils",
|
||||||
"rev": "bcabcbada90ed2aacb435dc09b91001819a6dc82",
|
"rev": "c65d41d4f4e6ded6fdb9d508a73e2fe90e55cdf7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -744,6 +744,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1754393734,
|
||||||
|
"narHash": "sha256-fbnmAwTQkuXHKBlcL5Nq1sMAzd3GFqCOQgEQw6Hy0Ak=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "a683adc19ff5228af548c6539dbc3440509bfed3",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751792365,
|
"lastModified": 1751792365,
|
||||||
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
|
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
|
||||||
@@ -762,18 +778,16 @@
|
|||||||
"nixvim": {
|
"nixvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"nixpkgs": [
|
"nixpkgs": "nixpkgs_6",
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"nuschtosSearch": "nuschtosSearch",
|
"nuschtosSearch": "nuschtosSearch",
|
||||||
"systems": "systems_4"
|
"systems": "systems_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753805595,
|
"lastModified": 1753977315,
|
||||||
"narHash": "sha256-5m0FqObrj/0/nfoaKlgpye4+SZzj1nMPnlxGxlIxKNg=",
|
"narHash": "sha256-AM3CZh+Emk/cr5Gf6RUf2xzkWdRB+yewP1YWoRxUbYQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "fe0bcc92c8c593d5e2b45ffb0d1253c3aa55eb72",
|
"rev": "a16c89c175277309fd3dd065fb5bc4eab450ae07",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -896,7 +910,7 @@
|
|||||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_6",
|
"systems": "systems_6",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
@@ -906,11 +920,11 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753731630,
|
"lastModified": 1753978157,
|
||||||
"narHash": "sha256-8pyTksY2aYtLGmqP8u3xhs4ZfttsfzZXAQZXHKecLDo=",
|
"narHash": "sha256-sVy8hb71VawSOIsLv/hMGzpvbbWszdP9aSKI5Drbt6Q=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "57d036d92283fddc6ae080459e72e767144a1cda",
|
"rev": "ded4f29a023e0f14506ec16b0e32d129e56341cc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -8,10 +8,7 @@
|
|||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
disko.url = "github:nix-community/disko";
|
disko.url = "github:nix-community/disko";
|
||||||
|
|
||||||
nixvim = {
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
url = "github:nix-community/nixvim";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
security.polkit.enable = true;
|
||||||
security.sudo.extraConfig = ''
|
security.sudo.extraConfig = ''
|
||||||
${username} ALL=(ALL) NOPASSWD: /etc/profiles/per-user/${username}/bin/rebuild
|
${username} ALL=(ALL) NOPASSWD: /etc/profiles/per-user/${username}/bin/rebuild
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ let
|
|||||||
myScripts.viconf
|
myScripts.viconf
|
||||||
myScripts.vipkg
|
myScripts.vipkg
|
||||||
myScripts.fetchfromgh
|
myScripts.fetchfromgh
|
||||||
|
myScripts.mkshell
|
||||||
myScripts.garbage-collect
|
myScripts.garbage-collect
|
||||||
myScripts.rebuild
|
myScripts.rebuild
|
||||||
myScripts.chpaper
|
myScripts.chpaper
|
||||||
@@ -59,6 +60,7 @@ in {
|
|||||||
rustup
|
rustup
|
||||||
w3m
|
w3m
|
||||||
neovide
|
neovide
|
||||||
|
claude-code
|
||||||
python3
|
python3
|
||||||
ghostty
|
ghostty
|
||||||
firefox
|
firefox
|
||||||
@@ -70,6 +72,7 @@ in {
|
|||||||
discord
|
discord
|
||||||
cloc
|
cloc
|
||||||
wine
|
wine
|
||||||
|
nerd-fonts.fira-code
|
||||||
nodejs_latest
|
nodejs_latest
|
||||||
] ++ scripts;
|
] ++ scripts;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -21,13 +21,6 @@ in
|
|||||||
export RESULT
|
export RESULT
|
||||||
echo "\$RESULT = $RESULT"
|
echo "\$RESULT = $RESULT"
|
||||||
}
|
}
|
||||||
precmd() { # Reset kitty color scheme
|
|
||||||
if [ "$NIX_SHELL" = "false" ]; then # don't run this in a nix-shell
|
|
||||||
trap 'NIX_SHELL=false kitty_theme' EXIT SIGINT SIGTERM SIGHUP
|
|
||||||
else # but still apply ssh theme logic in nix-shell
|
|
||||||
trap 'kitty_theme' EXIT SIGINT SIGTERM SIGHUP
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
nix-shell() {
|
nix-shell() {
|
||||||
NIX_SHELL=true command nix-shell "$@" --run zsh
|
NIX_SHELL=true command nix-shell "$@" --run zsh
|
||||||
}
|
}
|
||||||
@@ -55,17 +48,6 @@ in
|
|||||||
command neovide "$@"
|
command neovide "$@"
|
||||||
}
|
}
|
||||||
alias vi="nvim"
|
alias vi="nvim"
|
||||||
kitty_theme() {
|
|
||||||
if [ $TERM = "xterm-kitty" ]; then
|
|
||||||
if [ -n "$SSH_CONNECTION" ]; then
|
|
||||||
kitty @ set-colors -a ~/.config/kitty/ssh-theme.conf
|
|
||||||
elif [ "$name" = "nix-shell-env" ] || [ "$NIX_SHELL" = "true" ]; then
|
|
||||||
kitty @ set-colors -a ~/.config/kitty/nix-shell-theme.conf
|
|
||||||
else
|
|
||||||
kitty @ set-colors -a ~/.config/kitty/default-theme.conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
grimblast() {
|
grimblast() {
|
||||||
if command grimblast "$@"; then
|
if command grimblast "$@"; then
|
||||||
${shellsound} ${sndpath}/screenshot.wav
|
${shellsound} ${sndpath}/screenshot.wav
|
||||||
@@ -145,9 +127,10 @@ in
|
|||||||
eza -1 --group-directories-first --icons "$@"
|
eza -1 --group-directories-first --icons "$@"
|
||||||
SOUNDS_ENABLED=$prev_sounds_enabled
|
SOUNDS_ENABLED=$prev_sounds_enabled
|
||||||
builtin cd "$@"
|
builtin cd "$@"
|
||||||
${shellsound} /nix/store/7a9w7np3qrvmzxjbs7xj05qq2yccgfsj-source/assets/sound/cd.wav
|
${shellsound} ${sndpath}/cd.wav
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -e $HOME/.zsh_history ]; then
|
if [ ! -e $HOME/.zsh_history ]; then
|
||||||
touch $HOME/.zsh_history
|
touch $HOME/.zsh_history
|
||||||
chmod 600 $HOME/.zsh_history
|
chmod 600 $HOME/.zsh_history
|
||||||
@@ -191,7 +174,6 @@ in
|
|||||||
source ${fzf-tab}/fzf-tab.plugin.zsh
|
source ${fzf-tab}/fzf-tab.plugin.zsh
|
||||||
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
kitty_theme
|
|
||||||
type starship_zle-keymap-select >/dev/null || \
|
type starship_zle-keymap-select >/dev/null || \
|
||||||
{
|
{
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
{ env, config, pkgs, host, self, ... }: {
|
{ env, config, pkgs, host, self, ... }: {
|
||||||
programs.nixvim.extraPackages = [
|
programs.nixvim = {
|
||||||
|
nixpkgs.useGlobalPackages = true;
|
||||||
|
extraPackages = [
|
||||||
pkgs.cargo
|
pkgs.cargo
|
||||||
pkgs.rustc
|
pkgs.rustc
|
||||||
|
pkgs.clippy
|
||||||
pkgs.rustup
|
pkgs.rustup
|
||||||
pkgs.rust-analyzer
|
pkgs.rust-analyzer
|
||||||
|
pkgs.nerd-fonts.envy-code-r
|
||||||
];
|
];
|
||||||
|
};
|
||||||
imports = [ ./plugins ./options.nix ./keymaps.nix ./autocmd.nix ];
|
imports = [ ./plugins ./options.nix ./keymaps.nix ./autocmd.nix ];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ in {
|
|||||||
vim.opt.linebreak = true
|
vim.opt.linebreak = true
|
||||||
vim.opt.textwidth = 0
|
vim.opt.textwidth = 0
|
||||||
vim.opt.breakat = " \t!@*-+;:,./?"
|
vim.opt.breakat = " \t!@*-+;:,./?"
|
||||||
vim.opt.guifont = "Fira Code:h18"
|
vim.opt.guifont = "EnvyCodeR Nerd Font Mono:h18"
|
||||||
|
|
||||||
vim.g.mapleader = "!"
|
vim.g.mapleader = "!"
|
||||||
vim.g.rust_recommended_style = 0
|
vim.g.rust_recommended_style = 0
|
||||||
|
|||||||
8
modules/home/programs/nixvim/plugins/claudecode.nix
Normal file
8
modules/home/programs/nixvim/plugins/claudecode.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
programs.nixvim.plugins = {
|
||||||
|
claude-code = {
|
||||||
|
enable = true;
|
||||||
|
autoLoad = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
./nvim-lightbulb.nix
|
./nvim-lightbulb.nix
|
||||||
./neocord.nix
|
./neocord.nix
|
||||||
./copilot.nix
|
./copilot.nix
|
||||||
|
./claudecode.nix
|
||||||
./plugins.nix
|
./plugins.nix
|
||||||
./nvim-tree.nix
|
./nvim-tree.nix
|
||||||
./telescope.nix
|
./telescope.nix
|
||||||
|
|||||||
@@ -82,7 +82,10 @@
|
|||||||
installCargo = false;
|
installCargo = false;
|
||||||
installRustc = false;
|
installRustc = false;
|
||||||
settings = {
|
settings = {
|
||||||
check.allTargets = false;
|
check = {
|
||||||
|
allTargets = false;
|
||||||
|
command = "clippy";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixd = {
|
nixd = {
|
||||||
|
|||||||
@@ -4,7 +4,12 @@
|
|||||||
programs.nixvim.plugins.rustaceanvim = {
|
programs.nixvim.plugins.rustaceanvim = {
|
||||||
enable = false;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
server.auto_attach = true;
|
server = {
|
||||||
|
auto_attach = true;
|
||||||
|
default_settings = {
|
||||||
|
checkOnSave.command = "clippy";
|
||||||
|
};
|
||||||
|
};
|
||||||
dap.adapter = false;
|
dap.adapter = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 443 8080 ];
|
allowedTCPPorts = [ 443 8080 ];
|
||||||
|
trustedInterfaces = [ "vnet9" "virbr0" "enp0s2" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ in {
|
|||||||
#snes9x-gtk
|
#snes9x-gtk
|
||||||
#cust-openrct2
|
#cust-openrct2
|
||||||
mgba
|
mgba
|
||||||
|
shadps4
|
||||||
cust-prismlauncher
|
cust-prismlauncher
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ lib, config, username, ... }: {
|
{ lib, config, username, pkgs, ... }: {
|
||||||
options = {
|
options = {
|
||||||
movOpts.softwareCfg.virtConfig.enable =
|
movOpts.softwareCfg.virtConfig.enable =
|
||||||
lib.mkEnableOption "enables virtualization";
|
lib.mkEnableOption "enables virtualization";
|
||||||
@@ -6,5 +6,9 @@
|
|||||||
config = lib.mkIf config.movOpts.softwareCfg.virtConfig.enable {
|
config = lib.mkIf config.movOpts.softwareCfg.virtConfig.enable {
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
spice-gtk
|
||||||
|
usbredir
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,29 +23,5 @@ in
|
|||||||
slash = super.callPackage ./pkgs/slash/package.nix {};
|
slash = super.callPackage ./pkgs/slash/package.nix {};
|
||||||
fzf-tab = super.callPackage ./pkgs/zsh-fzf-tab/package.nix {};
|
fzf-tab = super.callPackage ./pkgs/zsh-fzf-tab/package.nix {};
|
||||||
};
|
};
|
||||||
myScripts = {
|
myScripts = import ./scripts { inherit super root host; };
|
||||||
# Scripts written using pkgs.writeShellApplication
|
|
||||||
icanhazip = super.callPackage ./scripts/commands/icanhazip.nix {};
|
|
||||||
invoke = super.callPackage ./scripts/commands/invoke.nix { self = root; };
|
|
||||||
git-compose = super.callPackage ./scripts/commands/git-compose.nix { self = root; };
|
|
||||||
runbg = super.callPackage ./scripts/commands/runbg.nix {};
|
|
||||||
splash = super.callPackage ./scripts/commands/splash.nix {};
|
|
||||||
toolbelt = super.callPackage ./scripts/commands/toolbelt.nix {};
|
|
||||||
viconf = super.callPackage ./scripts/commands/viconf.nix {};
|
|
||||||
vipkg = super.callPackage ./scripts/commands/vipkg.nix {};
|
|
||||||
fetchfromgh = super.callPackage ./scripts/nix/fetchfromgh.nix {};
|
|
||||||
garbage-collect = super.callPackage ./scripts/nix/garbage-collect.nix {};
|
|
||||||
check_updates = super.callPackage ./scripts/nix/check_updates.nix {};
|
|
||||||
rebuild = super.callPackage ./scripts/nix/rebuild.nix { inherit host; self = root; };
|
|
||||||
chpaper = super.callPackage ./scripts/wm-controls/chpaper.nix {};
|
|
||||||
chscheme = super.callPackage ./scripts/wm-controls/chscheme.nix {};
|
|
||||||
keyring = super.callPackage ./scripts/wm-controls/keyring.nix {};
|
|
||||||
playshellsound = super.callPackage ./scripts/wm-controls/playshellsound.nix {};
|
|
||||||
mkscreenshots = super.callPackage ./scripts/wm-controls/mkscreenshots.nix {};
|
|
||||||
moveonscreen = super.callPackage ./scripts/wm-controls/moveonscreen.nix {};
|
|
||||||
s_check = super.callPackage ./scripts/wm-controls/s_check.nix {};
|
|
||||||
switchmon = super.callPackage ./scripts/wm-controls/switchmon.nix {};
|
|
||||||
color-commit = super.callPackage ./scripts/misc/color-commit.nix {};
|
|
||||||
mntstack = super.callPackage ./scripts/misc/mntstack.nix {};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
12
overlay/scripts/commands/default.nix
Normal file
12
overlay/scripts/commands/default.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ super, root }:
|
||||||
|
|
||||||
|
{
|
||||||
|
icanhazip = super.callPackage ./icanhazip.nix {};
|
||||||
|
invoke = super.callPackage ./invoke.nix { self = root; };
|
||||||
|
git-compose = super.callPackage ./git-compose.nix { self = root; };
|
||||||
|
runbg = super.callPackage ./runbg.nix {};
|
||||||
|
splash = super.callPackage ./splash.nix {};
|
||||||
|
toolbelt = super.callPackage ./toolbelt.nix {};
|
||||||
|
viconf = super.callPackage ./viconf.nix {};
|
||||||
|
vipkg = super.callPackage ./vipkg.nix {};
|
||||||
|
}
|
||||||
7
overlay/scripts/default.nix
Normal file
7
overlay/scripts/default.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ super, root, host }:
|
||||||
|
|
||||||
|
# We need to fold all of these into a single attribute set
|
||||||
|
import ./commands { inherit super root; } //
|
||||||
|
import ./nix { inherit super host root; } //
|
||||||
|
import ./misc { inherit super; } //
|
||||||
|
import ./wm-controls { inherit super; }
|
||||||
6
overlay/scripts/misc/default.nix
Normal file
6
overlay/scripts/misc/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ super }:
|
||||||
|
|
||||||
|
{
|
||||||
|
color-commit = super.callPackage ./color-commit.nix {};
|
||||||
|
mntstack = super.callPackage ./mntstack.nix {};
|
||||||
|
}
|
||||||
9
overlay/scripts/nix/default.nix
Normal file
9
overlay/scripts/nix/default.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ super, host, root }:
|
||||||
|
|
||||||
|
{
|
||||||
|
fetchfromgh = super.callPackage ./templates/fetchfromgh.nix {};
|
||||||
|
mkshell = super.callPackage ./templates/mkshell.nix {};
|
||||||
|
garbage-collect = super.callPackage ./garbage-collect.nix {};
|
||||||
|
check_updates = super.callPackage ./check_updates.nix {};
|
||||||
|
rebuild = super.callPackage ./rebuild.nix { inherit host; self = root; };
|
||||||
|
}
|
||||||
19
overlay/scripts/nix/templates/mkshell.nix
Normal file
19
overlay/scripts/nix/templates/mkshell.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
|
pkgs.writeShellApplication {
|
||||||
|
name = "mkshell";
|
||||||
|
runtimeInputs = [];
|
||||||
|
text = ''
|
||||||
|
command cat <<EOF
|
||||||
|
devShells.\''${system}.default = pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = '''
|
||||||
|
export SHELL=\''${pkgs.zsh}/bin/zsh
|
||||||
|
exec \''${pkgs.zsh}/bin/zsh
|
||||||
|
''';
|
||||||
|
};
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
}
|
||||||
12
overlay/scripts/wm-controls/default.nix
Normal file
12
overlay/scripts/wm-controls/default.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ super }:
|
||||||
|
|
||||||
|
{
|
||||||
|
chpaper = super.callPackage ./chpaper.nix {};
|
||||||
|
chscheme = super.callPackage ./chscheme.nix {};
|
||||||
|
keyring = super.callPackage ./keyring.nix {};
|
||||||
|
playshellsound = super.callPackage ./playshellsound.nix {};
|
||||||
|
mkscreenshots = super.callPackage ./mkscreenshots.nix {};
|
||||||
|
moveonscreen = super.callPackage ./moveonscreen.nix {};
|
||||||
|
s_check = super.callPackage ./s_check.nix {};
|
||||||
|
switchmon = super.callPackage ./switchmon.nix {};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user