Compare commits

...

2 Commits

Author SHA1 Message Date
1223b85aa4 updated flake inputs 2026-02-25 01:11:39 -05:00
a5582a584f accomodating for fern package name change to 'shed' 2026-02-24 18:05:46 -05:00
14 changed files with 151 additions and 122 deletions

176
flake.lock generated
View File

@@ -20,11 +20,11 @@
]
},
"locked": {
"lastModified": 1770895474,
"narHash": "sha256-JBcrq1Y0uw87VZdYsByVbv+GBuT6ECaCNb9txLX9UuU=",
"lastModified": 1771610171,
"narHash": "sha256-+DeInuhbm6a6PpHDNUS7pozDouq2+8xSDefoNaZLW0E=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "a494d50d32b5567956b558437ceaa58a380712f7",
"rev": "7f9eb087703ec4acc6b288d02fa9ea3db803cd3d",
"type": "github"
},
"original": {
@@ -107,11 +107,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1771834427,
"narHash": "sha256-B1j0ahVuxyZtpbFfy34gk2DjacimPIuzyzCPvDhvxI4=",
"lastModified": 1771979194,
"narHash": "sha256-X3yVu1sGIItgDUZcSh59CO1Pxfr9HHdbBGYy64+9jvQ=",
"owner": "9001",
"repo": "copyparty",
"rev": "ab8bd0178b26a0b6c6406f7bae835d13b16ef188",
"rev": "9951e0333dae457f88e607eafb3418fcf7535d5d",
"type": "github"
},
"original": {
@@ -138,25 +138,6 @@
"type": "github"
}
},
"fern": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1771899927,
"narHash": "sha256-HKBWp3eiDsm9XjmC5ppqjbfI9Wldg2LjBz1zZXIL6l8=",
"owner": "km-clay",
"repo": "fern",
"rev": "62d651eb8df535c0176b254f6dee25d176d0aeff",
"type": "github"
},
"original": {
"owner": "km-clay",
"repo": "fern",
"type": "github"
}
},
"firefox-gnome-theme": {
"flake": false,
"locked": {
@@ -248,7 +229,7 @@
},
"flake-utils_2": {
"inputs": {
"systems": "systems"
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
@@ -343,7 +324,7 @@
},
"hypr-contrib": {
"inputs": {
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1771502235,
@@ -428,17 +409,17 @@
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
"hyprwire": "hyprwire",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_4",
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_2",
"systems": "systems",
"xdph": "xdph"
},
"locked": {
"lastModified": 1771865886,
"narHash": "sha256-hqoGotv4iNiYmIzQtBQziDANCEQ1L1vtsGODtJGlBgM=",
"lastModified": 1771959711,
"narHash": "sha256-vfvvuUu6X6bF4z6Wagcd5dz+EtPdkPo+9FZLj1JieMI=",
"ref": "refs/heads/main",
"rev": "bc09504ea50901bedf945859bf7bd4c739e1ed38",
"revCount": 6916,
"rev": "c60b3cb2ed0404d9573b2801b51ba7be1da999d9",
"revCount": 6923,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@@ -536,11 +517,11 @@
]
},
"locked": {
"lastModified": 1767983607,
"narHash": "sha256-8C2co8NYfR4oMOUEsPROOJ9JHrv9/ktbJJ6X1WsTbXc=",
"lastModified": 1771866172,
"narHash": "sha256-fYFoXhQLrm1rD8vSFKQBOEX4OGCuJdLt1amKfHd5GAw=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "d4037379e6057246b408bbcf796cf3e9838af5b2",
"rev": "0b219224910e7642eb0ed49f0db5ec3d008e3e41",
"type": "github"
},
"original": {
@@ -553,8 +534,8 @@
"inputs": {
"hyprutils": "hyprutils_2",
"hyprwayland-scanner": "hyprwayland-scanner_2",
"nixpkgs": "nixpkgs_6",
"systems": "systems_3"
"nixpkgs": "nixpkgs_5",
"systems": "systems_2"
},
"locked": {
"lastModified": 1770751064,
@@ -634,11 +615,11 @@
]
},
"locked": {
"lastModified": 1770139857,
"narHash": "sha256-bCqxcXjavgz5KBJ/1CBLqnagMMf9JvU1m9HmYVASKoc=",
"lastModified": 1771271487,
"narHash": "sha256-41gEiUS0Pyw3L/ge1l8MXn61cK14VAhgWB/JV8s/oNI=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "9038eec033843c289b06b83557a381a2648d8fa5",
"rev": "340a792e3b3d482c4ae5f66d27a9096bdee6d76d",
"type": "github"
},
"original": {
@@ -738,11 +719,11 @@
]
},
"locked": {
"lastModified": 1770203293,
"narHash": "sha256-PR/KER+yiHabFC/h1Wjb+9fR2Uy0lWM3Qld7jPVaWkk=",
"lastModified": 1771606233,
"narHash": "sha256-F3PLUqQ/TwgR70U+UeOqJnihJZ2EuunzojYC4g5xHr0=",
"owner": "hyprwm",
"repo": "hyprwire",
"rev": "37bc90eed02b0c8b5a77a0b00867baf3005cfb98",
"rev": "06c7f1f8c4194786c8400653c4efc49dc14c0f3a",
"type": "github"
},
"original": {
@@ -783,22 +764,6 @@
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1771369470,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0182a361324364ae3f436a63005877674cf45efb",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1712163089,
"narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=",
@@ -814,13 +779,13 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_4": {
"locked": {
"lastModified": 1770841267,
"narHash": "sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44=",
"lastModified": 1771848320,
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ec7c70d12ce2fc37cb92aff673dcdca89d187bae",
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
"type": "github"
},
"original": {
@@ -830,7 +795,7 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_5": {
"locked": {
"lastModified": 1748929857,
"narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
@@ -846,23 +811,23 @@
"type": "github"
}
},
"nixpkgs_7": {
"nixpkgs_6": {
"locked": {
"lastModified": 1771369470,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
"lastModified": 1771998210,
"narHash": "sha256-k1Qa2FLY/Bh64V+3s9CliTWAdLv0Lv8Qy7I/cgXMsjU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0182a361324364ae3f436a63005877674cf45efb",
"rev": "a5ebaf35f8930361787bb491d49fc2e807e6d51e",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"rev": "a5ebaf35f8930361787bb491d49fc2e807e6d51e",
"type": "github"
}
},
"nixpkgs_8": {
"nixpkgs_7": {
"locked": {
"lastModified": 1770380644,
"narHash": "sha256-P7dWMHRUWG5m4G+06jDyThXO7kwSk46C1kgjEWcybkE=",
@@ -878,6 +843,22 @@
"type": "github"
}
},
"nixpkgs_8": {
"locked": {
"lastModified": 1771369470,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0182a361324364ae3f436a63005877674cf45efb",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1767767207,
@@ -897,8 +878,8 @@
"nixvim": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_8",
"systems": "systems_4"
"nixpkgs": "nixpkgs_7",
"systems": "systems_3"
},
"locked": {
"lastModified": 1771135771,
@@ -949,11 +930,11 @@
]
},
"locked": {
"lastModified": 1770726378,
"narHash": "sha256-kck+vIbGOaM/dHea7aTBxdFYpeUl/jHOy5W3eyRvVx8=",
"lastModified": 1771858127,
"narHash": "sha256-Gtre9YoYl3n25tJH2AoSdjuwcqij5CPxL3U3xysYD08=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "5eaaedde414f6eb1aea8b8525c466dc37bba95ae",
"rev": "49bbbfc218bf3856dfa631cead3b052d78248b83",
"type": "github"
},
"original": {
@@ -966,17 +947,36 @@
"inputs": {
"copyparty": "copyparty",
"disko": "disko",
"fern": "fern",
"home-manager": "home-manager",
"hypr-contrib": "hypr-contrib",
"hyprland": "hyprland",
"hyprpicker": "hyprpicker",
"nixpkgs": "nixpkgs_7",
"nixpkgs": "nixpkgs_6",
"nixvim": "nixvim",
"shed": "shed",
"spicetify-nix": "spicetify-nix",
"stylix": "stylix"
}
},
"shed": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_8"
},
"locked": {
"lastModified": 1771975922,
"narHash": "sha256-y6mxBHd+yF3il/ar9hBC34zlcKzMLeIxWCA3UIRhuSw=",
"owner": "km-clay",
"repo": "shed",
"rev": "d14029f5a297e21ede860003229a83d710950af0",
"type": "github"
},
"original": {
"owner": "km-clay",
"repo": "shed",
"type": "github"
}
},
"spicetify-nix": {
"inputs": {
"nixpkgs": [
@@ -1032,16 +1032,16 @@
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"repo": "default-linux",
"type": "github"
}
},
@@ -1062,16 +1062,16 @@
},
"systems_3": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"repo": "default",
"type": "github"
}
},

View File

@@ -2,13 +2,13 @@
description = "pagedMov's NixOS and Home Manager configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/a5ebaf35f8930361787bb491d49fc2e807e6d51e";
hypr-contrib.url = "github:hyprwm/contrib";
copyparty.url = "github:9001/copyparty";
hyprpicker.url = "github:hyprwm/hyprpicker";
stylix.url = "github:danth/stylix";
disko.url = "github:nix-community/disko";
fern.url = "github:km-clay/fern";
shed.url = "github:km-clay/shed";
nixvim.url = "github:nix-community/nixvim";
@@ -60,14 +60,14 @@
hostDir = "work";
kind = "both";
extraNixosModules = [
inputs.fern.nixosModules.fern
inputs.shed.nixosModules.shed
inputs.copyparty.nixosModules.default
];
extraHomeModules = [
inputs.fern.homeModules.fern
inputs.shed.homeModules.shed
];
extraOverlays = [
inputs.fern.overlays.default
inputs.shed.overlays.default
inputs.copyparty.overlays.default
];
}

View File

@@ -1,7 +1,7 @@
{ inputs, pkgs, username, ... }:
let
fern = inputs.fern.packages.${pkgs.stdenv.hostPlatform.system}.default;
shed = inputs.shed.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
{
imports = [ ./hardware.nix ];
@@ -42,7 +42,7 @@ in
${username} = {
isNormalUser = true;
initialPassword = "1234";
shell = fern;
shell = shed;
extraGroups = [ "input" "wheel" "persist" "libvirtd" ];
};
};

View File

@@ -1,7 +1,7 @@
{ inputs, pkgs, username, ... }:
let
fern = inputs.fern.packages.${pkgs.stdenv.hostPlatform.system}.default;
shed = inputs.shed.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
{
imports = [
@@ -37,7 +37,7 @@ in
shells = [ pkgs.myPkgs.slash pkgs.zsh pkgs.bash ];
};
programs.fern.enable = true;
programs.shed.enable = true;
users = {
groups.persist = { };
@@ -47,7 +47,7 @@ in
${username} = {
isNormalUser = true;
initialPassword = "1234";
shell = pkgs.fern;
shell = pkgs.shed;
extraGroups = [ "davfs2" "input" "wheel" "persist" "libvirtd" ];
};
};

View File

@@ -7,7 +7,7 @@
./starship.nix
./userpkgs.nix
./zsh
./fern
./shed
./swaync.nix
./hyprland.nix
./waybar.nix

View File

@@ -1,13 +1,13 @@
{ lib, config, pkgs, self, ... }:
{
programs.fern = {
programs.shed = {
aliases = {
mv = "mv -v";
cp = "cp -vr";
gt = "gtrash";
gtp = "${pkgs.myScripts.playshellsound}/bin/playshellsound ${self}/assets/sound/rm.wav && gtrash put";
diff = "diff --color=auto";
sr = "source ~/.fernrc";
sr = "source ~/.shedrc";
psg = "ps aux | grep -v grep | grep -i -e VSZ -e";
mkdir = "mkdir -p";
pk = "pkill -9 -f";
@@ -22,6 +22,7 @@
suvi = "sudoedit";
suvide = "EDITOR=neovide; suvi";
rustdev = "nix develop github:km-clay/devshells#rust";
y = "yazi";
ga = "playshellsound ${self}/assets/sound/gitadd.wav; git add";
gcomm = "gitcommit_sfx";

View File

@@ -1,6 +1,6 @@
{ lib, config, ... }:
{
programs.fern = {
programs.shed = {
environmentVars = {
SOUNDS_ENABLED = "true";
EDITOR = "nvim";

View File

@@ -5,12 +5,13 @@ let
sndpath = "${self}/assets/sound";
in
{
programs.fern = {
programs.shed = {
settings.extraPreConfig = ''
prompt_topline() {
local last_exit_code="$?"
local last_cmd_status
local last_cmd_runtime
if [ "$?" -eq "0" ]; then
if [ "$last_exit_code" -eq "0" ]; then
last_cmd_status="\e[1;32m\e[0m"
else
last_cmd_status="\e[1;31m\e[0m"
@@ -66,7 +67,12 @@ in
echo -en "$prompt"
}
export PS1="\n\!prompt "
shed_ver() {
shed --version
}
export PS1="\!prompt "
export PSR='\e[36;1m$\!shed_ver\e[0m'
'';
settings.extraPostConfig = ''
encrypt() {
@@ -89,16 +95,32 @@ in
}
viflake() {
(
while ! [ -f ./flake.nix ]; do
builtin cd ..
if [ "$PWD" = "/" ]; then
echo "No flake.nix found in this directory or any parent directories."
return 1
filename="$(upfind flake.nix)"
if [ -n "$filename" ]; then
nvim "$filename"
else
echo "No flake.nix found in this directory or any parent directories."
return 1
fi
}
upfind() {
until [ "$#" -eq 0 ]; do
filename="$1"
(
until [ -f "./$filename" ]; do
builtin cd ..
if [ "$PWD" = "/" ]; then
echo "upsearch: failed to find file '$filename' in this directory or any parent directories." 1>&2
break
fi
done
if [ -f "./$filename" ]; then
realpath "./$filename"
fi
done
nvim ./flake.nix
)
)
shift 1
done
}
nvim() {
@@ -170,6 +192,10 @@ in
${shellsound} ${sndpath}/cd.wav
}
hyprsock() {
socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock
}
vipe() {
local tmp=$(mktemp)
$EDITOR "$tmp" >/dev/tty </dev/tty
@@ -177,7 +203,7 @@ in
rm "$tmp"
}
if [ "$0" = "-fern" ]; then
if [ "$0" = "-shed" ]; then
${shellsound} $FLAKEPATH/assets/sound/login.wav
fi
'';

View File

@@ -1,7 +1,7 @@
{ lib, config, ... }:
{
programs.fern = {
programs.shed = {
enable = true;
settings = {

View File

@@ -1,7 +1,7 @@
{ lib, self, config, host, pkgs, ... }:
let
scheme = "ayu-dark";
scheme = "seti";
wallpaper = "${self}/assets/wallpapers/dark-waves.jpg";
server = (host == "xenon");
in {
@@ -16,7 +16,6 @@ in {
image = wallpaper;
polarity = "dark";
autoEnable = true;
opacity.terminal = 1.0;
targets = {
waybar.enable = false;
spicetify.enable = false;

View File

@@ -14,6 +14,7 @@
settings = {
confirm_os_window_close = 0;
background_opacity = lib.mkForce 0.5;
window_padding_width = 4;
scrollback_lines = 10000;
enable_audio_bell = true;

View File

@@ -5,7 +5,7 @@ in {
programs.nixvim = {
colorschemes.base16 = {
enable = true;
colorscheme = "chalk";
colorscheme = "seti";
#colorscheme = {
# base00 = "#${scheme.base00}";
# base01 = "#${scheme.base01}";
@@ -37,13 +37,15 @@ in {
if vim.g.neovide then
vim.g.neovide_refresh_rate = 144
vim.g.neovide_cursor_animate_in_insert_mode = true
vim.g.neovide_opacity = 0.5;
vim.g.neovide_normal_opacity = 1.0;
end
vim.g.vimwiki_list = {{path = '~/vimwiki/', syntax = 'markdown', ext = '.md'}}
vim.filetype.add({
filename = {
[".fernrc"] = "sh",
[".shedrc"] = "sh",
}
})

View File

@@ -5,14 +5,14 @@
};
config =
let
fern = inputs.fern.packages.${pkgs.stdenv.hostPlatform.system}.default;
shed = inputs.shed.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
lib.mkIf config.movOpts.softwareCfg.sysPkgs.enable {
environment.systemPackages = with pkgs; [
dotnetCorePackages.sdk_8_0_4xx
alsa-lib
xwayland
fern
shed
wayland
alsa-utils
bc