This commit is contained in:
Nathan Braswell
2025-12-15 21:35:44 -05:00
parent 4f578fe894
commit 5822fd6227
3 changed files with 70 additions and 3 deletions

60
flake.lock generated
View File

@@ -1,5 +1,27 @@
{ {
"nodes": { "nodes": {
"awww": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1764379284,
"narHash": "sha256-nNdyU94gWdwMphROshWPueeUi/s7Yq463WZl4/yk0Tk=",
"ref": "refs/heads/main",
"rev": "0b1bb7fe02bc0668c71b969452ea852e2f25e0fa",
"revCount": 1319,
"type": "git",
"url": "https://codeberg.org/LGFae/awww"
},
"original": {
"type": "git",
"url": "https://codeberg.org/LGFae/awww"
}
},
"base16": { "base16": {
"inputs": { "inputs": {
"fromYaml": "fromYaml" "fromYaml": "fromYaml"
@@ -84,6 +106,22 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1761588595,
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
@@ -292,6 +330,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"awww": "awww",
"home-manager": "home-manager", "home-manager": "home-manager",
"niri": "niri", "niri": "niri",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
@@ -299,6 +338,27 @@
"stylix": "stylix" "stylix": "stylix"
} }
}, },
"rust-overlay": {
"inputs": {
"nixpkgs": [
"awww",
"nixpkgs"
]
},
"locked": {
"lastModified": 1764038373,
"narHash": "sha256-M6w2wNBRelcavoDAyFL2iO4NeWknD40ASkH1S3C0YGM=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "ab3536fe850211a96673c6ffb2cb88aab8071cc9",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"stylix": { "stylix": {
"inputs": { "inputs": {
"base16": "base16", "base16": "base16",

View File

@@ -7,6 +7,10 @@
url = "github:danth/stylix"; url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
awww = {
url = "git+https://codeberg.org/LGFae/awww";
inputs.nixpkgs.follows = "nixpkgs";
};
niri = { niri = {
url = "github:sodiboo/niri-flake"; url = "github:sodiboo/niri-flake";
@@ -19,7 +23,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
outputs = { self, nixpkgs, stylix, niri, home-manager, nixos-hardware }@attrs: outputs = { self, nixpkgs, stylix, awww, niri, home-manager, nixos-hardware }@attrs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
make_besley = pkgs:(lib: (pkgs.stdenvNoCC.mkDerivation rec { make_besley = pkgs:(lib: (pkgs.stdenvNoCC.mkDerivation rec {
@@ -145,6 +149,7 @@
programs.steam.enable = true; programs.steam.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
tmux vim wget curl git w3m iftop iotop killall file unzip zip p7zip ripgrep imv killall tmux vim wget curl git w3m iftop iotop killall file unzip zip p7zip ripgrep imv killall
btop htop python3 btop htop python3
waypipe firefox chromium chawan cmatrix nautilus waypipe firefox chromium chawan cmatrix nautilus

View File

@@ -108,8 +108,10 @@
DISPLAY = ":0"; # xwayland-satellite DISPLAY = ":0"; # xwayland-satellite
}; };
spawn-at-startup = [ spawn-at-startup = [
{ command = [ "swww-daemon" ]; } { command = [ "awww-daemon" ]; }
{ command = [ "swww" "img" "${backgroundImg}" ]; } { command = [ "awww" "img" "${backgroundImg}" ]; }
#{ command = [ "swww-daemon" ]; }
#{ command = [ "swww" "img" "${backgroundImg}" ]; }
{ command = [ "waybar" ]; } { command = [ "waybar" ]; }
{ command = [ "xwayland-satellite" ]; } { command = [ "xwayland-satellite" ]; }
]; ];