diff --git a/nix/base/login_manager.nix b/nix/base/login_manager.nix index ef13bbf..8b7d114 100644 --- a/nix/base/login_manager.nix +++ b/nix/base/login_manager.nix @@ -14,10 +14,6 @@ let }; in { - imports = [ - inputs.hyprland.nixosModules.default - ]; - services.xserver.displayManager.session = [ { manage = "desktop"; diff --git a/nix/flake.lock b/nix/flake.lock index 9637b39..1c2fdff 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -3,7 +3,7 @@ "Hyprspace": { "inputs": { "hyprland": [ - "hyprland" + "nixpkgs" ] }, "locked": { @@ -81,9 +81,135 @@ "type": "github" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": [ + "oxicalc", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { + "inputs": { + "nixpkgs-lib": [ + "oxidash", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": [ + "oxinoti", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_5": { + "inputs": { + "nixpkgs-lib": [ + "oxipaste", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_6": { + "inputs": { + "nixpkgs-lib": [ + "oxishut", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_7": { + "inputs": { + "nixpkgs-lib": [ + "reset", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "inputs": { - "systems": "systems_4" + "systems": "systems_3" }, "locked": { "lastModified": 1705309234, @@ -100,6 +226,24 @@ } }, "flake-utils_2": { + "inputs": { + "systems": "systems_4" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { "inputs": { "systems": "systems_5" }, @@ -117,6 +261,60 @@ "type": "github" } }, + "flake-utils_4": { + "inputs": { + "systems": "systems_6" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_5": { + "inputs": { + "systems": "systems_7" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_6": { + "inputs": { + "systems": "systems_8" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -124,11 +322,11 @@ ] }, "locked": { - "lastModified": 1715486357, - "narHash": "sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4=", + "lastModified": 1715930644, + "narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=", "owner": "nix-community", "repo": "home-manager", - "rev": "44677a1c96810a8e8c4ffaeaad10c842402647c1", + "rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d", "type": "github" }, "original": { @@ -137,119 +335,13 @@ "type": "github" } }, - "hyprcursor": { - "inputs": { - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1713612213, - "narHash": "sha256-zJboXgWNpNhKyNF8H/3UYzWkx7w00TOCGKi3cwi+tsw=", - "owner": "hyprwm", - "repo": "hyprcursor", - "rev": "cab4746180f210a3c1dd3d53e45c510e309e90e1", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprcursor", - "type": "github" - } - }, - "hyprland": { - "inputs": { - "hyprcursor": "hyprcursor", - "hyprlang": "hyprlang", - "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs_2", - "systems": "systems", - "xdph": "xdph" - }, - "locked": { - "lastModified": 1715635266, - "narHash": "sha256-c4l89M8/x4h0VHds7IC1W8yfu27lVN4uoeY57/OmI5Q=", - "ref": "refs/heads/main", - "rev": "ba696521930059aa489ac6ffabe28553edaf2fa3", - "revCount": 4683, - "submodules": true, - "type": "git", - "url": "https://github.com/hyprwm/Hyprland" - }, - "original": { - "submodules": true, - "type": "git", - "url": "https://github.com/hyprwm/Hyprland" - } - }, - "hyprland-protocols": { - "inputs": { - "nixpkgs": [ - "hyprland", - "xdph", - "nixpkgs" - ], - "systems": [ - "hyprland", - "xdph", - "systems" - ] - }, - "locked": { - "lastModified": 1691753796, - "narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=", - "owner": "hyprwm", - "repo": "hyprland-protocols", - "rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprland-protocols", - "type": "github" - } - }, "hyprlang": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1713121246, - "narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=", - "owner": "hyprwm", - "repo": "hyprlang", - "rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprlang", - "type": "github" - } - }, - "hyprlang_2": { "inputs": { "nixpkgs": [ "hyprlock", "nixpkgs" ], - "systems": "systems_2" + "systems": "systems" }, "locked": { "lastModified": 1713121246, @@ -267,16 +359,16 @@ }, "hyprlock": { "inputs": { - "hyprlang": "hyprlang_2", - "nixpkgs": "nixpkgs_3", - "systems": "systems_3" + "hyprlang": "hyprlang", + "nixpkgs": "nixpkgs_2", + "systems": "systems_2" }, "locked": { - "lastModified": 1715610114, - "narHash": "sha256-ffGEiaL5bVR559adZNHsYBWMefhX8G9oyTrKorbx3h8=", + "lastModified": 1715970545, + "narHash": "sha256-WD6Iyb9DV1R5a2A0UIVT8GyzRhs9ntOPGKDubEUUVNs=", "owner": "hyprwm", "repo": "hyprlock", - "rev": "386a1e6fc290fc33177d0b44cd393e32c5433925", + "rev": "997f222b0fec6ac74ec718b53600e77c2b26860a", "type": "github" }, "original": { @@ -285,44 +377,19 @@ "type": "github" } }, - "hyprwayland-scanner": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1715608589, - "narHash": "sha256-vimNaLjLcoNIvBhF37GaB6PRYEvKMamY3UnDE9M5MW8=", - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "rev": "65c2636484e5cb00583b8a7446c3fb657f568883", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "type": "github" - } - }, "ironbar": { "inputs": { "crane": "crane", "naersk": "naersk", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_4", "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1715676519, - "narHash": "sha256-JQywRoP+oPLP+vMH4X8DCmiwE2kp2GC0kdHlejUvRTo=", + "lastModified": 1716154552, + "narHash": "sha256-JZqgSOeU2MalRnF75gQ1vZu3VftGfmIgkxPMpkd218o=", "owner": "JakeStanger", "repo": "ironbar", - "rev": "407d58606d6bd45b4ab73322cefb08f460431897", + "rev": "4ad4b0e070cc4e271251763db7210e70857d68ca", "type": "github" }, "original": { @@ -333,7 +400,7 @@ }, "naersk": { "inputs": { - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_3" }, "locked": { "lastModified": 1713520724, @@ -382,11 +449,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1715458492, - "narHash": "sha256-q0OFeZqKQaik2U8wwGDsELEkgoZMK7gvfF6tTXkpsqE=", + "lastModified": 1716061101, + "narHash": "sha256-H0eCta7ahEgloGIwE/ihkyGstOGu+kQwAiHvwVoXaA0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8e47858badee5594292921c2668c11004c3b0142", + "rev": "e7cc61784ddf51c81487637b3031a6dd2d6673a2", "type": "github" }, "original": { @@ -396,85 +463,7 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1715534503, - "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1712963716, - "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "cfd6b5fc90b15709b780a5a1619695a88505a176", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_4": { - "locked": { - "lastModified": 1714314149, - "narHash": "sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "nixpkgs_5": { - "locked": { - "lastModified": 1714253743, - "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_6": { - "locked": { - "lastModified": 1715534503, - "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", - "owner": "NixOs", - "repo": "nixpkgs", - "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", - "type": "github" - }, - "original": { - "owner": "NixOs", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_7": { + "nixpkgs_10": { "locked": { "lastModified": 1706487304, "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", @@ -490,13 +479,29 @@ "type": "github" } }, - "nixpkgs_8": { + "nixpkgs_11": { "locked": { - "lastModified": 1715413075, - "narHash": "sha256-FCi3R1MeS5bVp0M0xTheveP6hhcCYfW/aghSTPebYL4=", + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e4e7a43a9db7e22613accfeb1005cca1b2b1ee0d", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_12": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", "type": "github" }, "original": { @@ -506,17 +511,346 @@ "type": "github" } }, + "nixpkgs_13": { + "locked": { + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_14": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_15": { + "locked": { + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_16": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_17": { + "locked": { + "lastModified": 1716062047, + "narHash": "sha256-OhysviwHQz4p2HZL4g7XGMLoUbWMjkMr/ogaR3VUYNA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "02923630b89aa1ab36ef8e422501a6f4fd4b2016", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1712963716, + "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cfd6b5fc90b15709b780a5a1619695a88505a176", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1714314149, + "narHash": "sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1714253743, + "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { + "locked": { + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", + "owner": "NixOs", + "repo": "nixpkgs", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOs", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { + "locked": { + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_8": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_9": { + "locked": { + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "oxicalc": { + "inputs": { + "flake-parts": "flake-parts_2", + "nixpkgs": "nixpkgs_6" + }, + "locked": { + "lastModified": 1716225554, + "narHash": "sha256-IenHIQgKdKJTt02VJLQ+q8EunIkMwQ57XFWyKO+rb7s=", + "owner": "DashieTM", + "repo": "OxiCalc", + "rev": "a3fa5d76941278fd0f586817dcd04be134159bd8", + "type": "github" + }, + "original": { + "owner": "DashieTM", + "repo": "OxiCalc", + "type": "github" + } + }, + "oxidash": { + "inputs": { + "flake-parts": "flake-parts_3", + "nixpkgs": "nixpkgs_7", + "rust-overlay": "rust-overlay_2" + }, + "locked": { + "lastModified": 1716232192, + "narHash": "sha256-V5tQMMUc4zDWfY/91KWagutrfmyDOEOo0vWkhFvMJeQ=", + "owner": "DashieTM", + "repo": "OxiDash", + "rev": "aae01f9feadd9111869bdc940ca7404862d4957f", + "type": "github" + }, + "original": { + "owner": "DashieTM", + "repo": "OxiDash", + "type": "github" + } + }, + "oxinoti": { + "inputs": { + "flake-parts": "flake-parts_4", + "nixpkgs": "nixpkgs_9", + "rust-overlay": "rust-overlay_3" + }, + "locked": { + "lastModified": 1716232356, + "narHash": "sha256-2dvL/U5TnWkpd0f+GASwg1Bhnt0f8p3dfOk0lYJ6iL8=", + "owner": "DashieTM", + "repo": "OxiNoti", + "rev": "e07315309d901ae41aefae758bd590d92ccf3106", + "type": "github" + }, + "original": { + "owner": "DashieTM", + "repo": "OxiNoti", + "type": "github" + } + }, + "oxipaste": { + "inputs": { + "flake-parts": "flake-parts_5", + "nixpkgs": "nixpkgs_11", + "rust-overlay": "rust-overlay_4" + }, + "locked": { + "lastModified": 1716233251, + "narHash": "sha256-+WE1qMd4N4CElo/vm/WZ0Aex77kzm5nyWkr2PAD7Gus=", + "owner": "DashieTM", + "repo": "OxiPaste", + "rev": "5d357c6fc8f4dd84a4a850dab3485bfe5a6a078c", + "type": "github" + }, + "original": { + "owner": "DashieTM", + "repo": "OxiPaste", + "type": "github" + } + }, + "oxishut": { + "inputs": { + "flake-parts": "flake-parts_6", + "nixpkgs": "nixpkgs_13", + "rust-overlay": "rust-overlay_5" + }, + "locked": { + "lastModified": 1716232799, + "narHash": "sha256-Pzm45/GZ0Tn38EIx2ojxpwEFUWfy0XSe01UGILGJdvA=", + "owner": "DashieTM", + "repo": "OxiShut", + "rev": "2a123b8710da615be3d5d59a367c49c802a36430", + "type": "github" + }, + "original": { + "owner": "DashieTM", + "repo": "OxiShut", + "type": "github" + } + }, + "reset": { + "inputs": { + "flake-parts": "flake-parts_7", + "nixpkgs": "nixpkgs_15", + "rust-overlay": "rust-overlay_6" + }, + "locked": { + "lastModified": 1716233038, + "narHash": "sha256-JuK1NvxtoC58/9RM70ClkCzXPHYipPiRonlGPO3JXcQ=", + "owner": "Xetibo", + "repo": "ReSet", + "rev": "397c48ae43e177203d5799aabec145e938d63a57", + "type": "github" + }, + "original": { + "owner": "Xetibo", + "repo": "ReSet", + "type": "github" + } + }, "root": { "inputs": { "Hyprspace": "Hyprspace", "anyrun": "anyrun", "home-manager": "home-manager", - "hyprland": "hyprland", "hyprlock": "hyprlock", "ironbar": "ironbar", "nix-flatpak": "nix-flatpak", - "nixpkgs": "nixpkgs_6", - "rust-overlay": "rust-overlay_2", + "nixpkgs": "nixpkgs_5", + "oxicalc": "oxicalc", + "oxidash": "oxidash", + "oxinoti": "oxinoti", + "oxipaste": "oxipaste", + "oxishut": "oxishut", + "reset": "reset", "sops-nix": "sops-nix" } }, @@ -545,11 +879,75 @@ "rust-overlay_2": { "inputs": { "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_7" + "nixpkgs": "nixpkgs_8" }, "locked": { - "lastModified": 1715652909, - "narHash": "sha256-aCLEDvzL1j51Rf2mCFOqK1mieMO3pAn5ItCIdr5h2LA=", + "lastModified": 1716171463, + "narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=", + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + } + }, + "rust-overlay_3": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": "nixpkgs_10" + }, + "locked": { + "lastModified": 1716171463, + "narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=", + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + } + }, + "rust-overlay_4": { + "inputs": { + "flake-utils": "flake-utils_4", + "nixpkgs": "nixpkgs_12" + }, + "locked": { + "lastModified": 1716171463, + "narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=", + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + } + }, + "rust-overlay_5": { + "inputs": { + "flake-utils": "flake-utils_5", + "nixpkgs": "nixpkgs_14" + }, + "locked": { + "lastModified": 1716171463, + "narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=", + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" + } + }, + "rust-overlay_6": { + "inputs": { + "flake-utils": "flake-utils_6", + "nixpkgs": "nixpkgs_16" + }, + "locked": { + "lastModified": 1716171463, + "narHash": "sha256-lc7wOh5BjYUoxdhcPkeUY8BmuL2qtRaHlW1403RW48E=", "type": "tarball", "url": "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" }, @@ -560,15 +958,15 @@ }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_17", "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1715482972, - "narHash": "sha256-y1uMzXNlrVOWYj1YNcsGYLm4TOC2aJrwoUY1NjQs9fM=", + "lastModified": 1716087663, + "narHash": "sha256-zuSAGlx8Qk0OILGCC2GUyZ58/SJ5R3GZdeUNQ6IS0fQ=", "owner": "Mic92", "repo": "sops-nix", - "rev": "b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e", + "rev": "0bf1808e70ce80046b0cff821c019df2b19aabf5", "type": "github" }, "original": { @@ -609,16 +1007,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" } }, @@ -652,33 +1050,48 @@ "type": "github" } }, - "xdph": { - "inputs": { - "hyprland-protocols": "hyprland-protocols", - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, + "systems_6": { "locked": { - "lastModified": 1714662532, - "narHash": "sha256-Pj2xGSYhapYbXL7sk7TTlOtCZcTfPQoL3fPbZeg7L4Y=", - "owner": "hyprwm", - "repo": "xdg-desktop-portal-hyprland", - "rev": "1f228ba2f1f254195c0b571302b37482861abee3", + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "type": "github" }, "original": { - "owner": "hyprwm", - "repo": "xdg-desktop-portal-hyprland", + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_7": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_8": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", "type": "github" } } diff --git a/nix/flake.nix b/nix/flake.nix index 4735efa..c73e40c 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -16,24 +16,25 @@ sops-nix.url = "github:Mic92/sops-nix"; - hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; - hyprlock.url = "github:hyprwm/hyprlock"; Hyprspace = { url = "github:KZDKM/Hyprspace"; - inputs.hyprland.follows = "hyprland"; + # Hyprspace uses latest Hyprland. We declare this to keep them in sync. + inputs.hyprland.follows = "nixpkgs"; }; ironbar = { url = "github:JakeStanger/ironbar"; }; - rust-overlay = { - url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"; - }; - anyrun.url = "github:Kirottu/anyrun"; + oxicalc.url = "github:DashieTM/OxiCalc"; + oxishut.url = "github:DashieTM/OxiShut"; + oxinoti.url = "github:DashieTM/OxiNoti"; + oxidash.url = "github:DashieTM/OxiDash"; + oxipaste.url = "github:DashieTM/OxiPaste"; + reset.url = "github:Xetibo/ReSet"; }; outputs = { ... }@inputs: @@ -43,12 +44,6 @@ config = { allowUnfree = true; }; - overlays = [ - # because allowing rust nightly is too hard by default.... - (import - inputs.rust-overlay - ) - ]; }; base_imports = [ inputs.home-manager.nixosModules.home-manager diff --git a/nix/override/oxicalc.nix b/nix/override/oxicalc.nix deleted file mode 100644 index 7f4e20c..0000000 --- a/nix/override/oxicalc.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ pkgs -, lib -, fetchFromGitHub -}: -let - toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal); - rustPlatform = pkgs.makeRustPlatform { - cargo = toolchain; - rustc = toolchain; - }; -in -rustPlatform.buildRustPackage rec { - pname = "oxicalc"; - version = "0.2.4"; - - src = fetchFromGitHub { - owner = "DashieTM"; - repo = "OxiCalc"; - rev = "${version}"; - hash = "sha256-7qrnA0jnLg2mckpxCe66+axU3jE6nOBu7HefmP8I2Xc="; - }; - - cargoHash = "sha256-nxLXT9SVorsgj7qzwX8Ipx8SDvyTYMAcpepTg62QL7o="; - - nativeBuildInputs = with pkgs;[ - pkg-config - wrapGAppsHook4 - ]; - - buildInputs = with pkgs;[ - gtk4 - libadwaita - ]; - - postInstall = '' - install -D --mode=444 $src/${pname}.desktop $out/share/applications/${pname}.desktop - install -D --mode=444 $src/${pname}.svg $out/share/pixmaps/${pname}.svg - ''; - - meta = with lib; { - description = "A small, simple calculator written in rust/gtk4"; - homepage = "https://github.com/DashieTM/OxiCalc"; - changelog = "https://github.com/DashieTM/OxiCalc/releases/tag/${version}"; - license = licenses.gpl3; - maintainers = with maintainers; [ DashieTM ]; - mainProgram = "oxicalc"; - }; -} diff --git a/nix/override/oxidash.nix b/nix/override/oxidash.nix deleted file mode 100644 index 60b78a1..0000000 --- a/nix/override/oxidash.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ pkgs -, lib -, fetchFromGitHub -}: -let - toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal); - rustPlatform = pkgs.makeRustPlatform { - cargo = toolchain; - rustc = toolchain; - }; -in -rustPlatform.buildRustPackage rec { - pname = "oxidash"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "DashieTM"; - repo = "OxiDash"; - rev = "${version}"; - hash = "sha256-GVkmqwn3mHriMHUfEej4LW0MaYURqtsftC5L+Cox+5E="; - }; - - cargoHash = "sha256-seFHiBht0vc+iqQw5bd22qVvdhCMqDthWuth3NTm8OY="; - - nativeBuildInputs = with pkgs;[ - pkg-config - glib - wrapGAppsHook4 - ]; - - buildInputs = with pkgs;[ - dbus - gtk4 - gtk4-layer-shell - libadwaita - ]; - - meta = with lib; { - description = "A work in progress notification daemon made with rust and gtk."; - homepage = "https://github.com/DashieTM/OxiDash"; - changelog = "https://github.com/DashieTM/OxiDash/releases/tag/${version}"; - license = licenses.gpl3; - maintainers = with maintainers; [ DashieTM ]; - mainProgram = "oxidash"; - }; -} diff --git a/nix/override/oxinoti.nix b/nix/override/oxinoti.nix deleted file mode 100644 index 30c76b2..0000000 --- a/nix/override/oxinoti.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ pkgs -, lib -, fetchFromGitHub -}: -let - toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal); - rustPlatform = pkgs.makeRustPlatform { - cargo = toolchain; - rustc = toolchain; - }; -in -rustPlatform.buildRustPackage rec { - pname = "oxinoti"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "DashieTM"; - repo = "OxiNoti"; - rev = "${version}"; - hash = "sha256-fsrtLb14mCuYb1ibJAzPCrPNXdlcU/J7ZGYoVfppFBM="; - }; - - cargoHash = "sha256-jIdev6K5MQ8jASDo1KWU89rSLd9UhI2MhTT4l7pP+tA="; - - nativeBuildInputs = with pkgs;[ - pkg-config - wrapGAppsHook4 - ]; - - buildInputs = with pkgs;[ - dbus - gtk3 - gtk-layer-shell - ]; - - meta = with lib; { - description = "A work in progress notification daemon made with rust and gtk."; - homepage = "https://github.com/DashieTM/OxiNoti"; - changelog = "https://github.com/DashieTM/OxiNoti/releases/tag/${version}"; - license = licenses.gpl3; - maintainers = with maintainers; [ DashieTM ]; - mainProgram = "oxinoti"; - }; -} diff --git a/nix/override/oxipaste.nix b/nix/override/oxipaste.nix deleted file mode 100644 index 463fe95..0000000 --- a/nix/override/oxipaste.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ pkgs -, lib -, fetchFromGitHub -}: -let - toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal); - rustPlatform = pkgs.makeRustPlatform { - cargo = toolchain; - rustc = toolchain; - }; -in -rustPlatform.buildRustPackage rec { - pname = "oxipaste"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "DashieTM"; - repo = "OxiPaste"; - rev = "${version}"; - hash = "sha256-2copt808b4cpmE8HO2H960xLs7OegvOUYYS/6z7fNMk="; - }; - - cargoHash = "sha256-RXaL5y0hohP9VJ7IJCEfdJjyxwY2l555xSwRa9ZiNKc="; - - nativeBuildInputs = with pkgs;[ - pkg-config - wrapGAppsHook4 - ]; - - buildInputs = with pkgs;[ - dbus - gtk4 - libadwaita - gtk4-layer-shell - ]; - - meta = with lib; { - description = "A work in progress notification daemon made with rust and gtk."; - homepage = "https://github.com/DashieTM/OxiPaste"; - changelog = "https://github.com/DashieTM/OxiPaste/releases/tag/${version}"; - license = licenses.gpl3; - maintainers = with maintainers; [ DashieTM ]; - mainProgram = "oxipaste"; - }; -} diff --git a/nix/override/oxishut.nix b/nix/override/oxishut.nix deleted file mode 100644 index 98036bb..0000000 --- a/nix/override/oxishut.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ pkgs -, lib -, fetchFromGitHub -}: -let - toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal); - rustPlatform = pkgs.makeRustPlatform { - cargo = toolchain; - rustc = toolchain; - }; -in -rustPlatform.buildRustPackage rec { - pname = "oxishut"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "DashieTM"; - repo = "OxiShut"; - rev = "${version}"; - hash = "sha256-aCNnNxmIHq+IjjviWNGSHfdXT55s367GTAeQoaTZ/KA="; - }; - - cargoHash = "sha256-UeoBSHwMGfhkgRT7kmelcG3/omtB03Wh4IZrTy3yf3Y="; - - nativeBuildInputs = with pkgs;[ - pkg-config - glib - wrapGAppsHook4 - ]; - - buildInputs = with pkgs;[ - gtk4 - libadwaita - gtk4-layer-shell - ]; - - meta = with lib; { - description = ""; - homepage = "https://github.com/DashieTM/OxiShut"; - changelog = "https://github.com/DashieTM/OxiShut/releases/tag/${version}"; - license = licenses.gpl3; - maintainers = with maintainers; [ DashieTM ]; - mainProgram = "oxishut"; - }; -} diff --git a/nix/override/reset.nix b/nix/override/reset.nix deleted file mode 100644 index 50f4f83..0000000 --- a/nix/override/reset.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ pkgs -, lib -, fetchFromGitHub -}: -let - toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal); - rustPlatform = pkgs.makeRustPlatform { - cargo = toolchain; - rustc = toolchain; - }; -in -rustPlatform.buildRustPackage rec { - pname = "reset"; - version = "1.2.0"; - - src = fetchFromGitHub { - owner = "Xetibo"; - repo = "ReSet"; - rev = "${version}"; - hash = "sha256-6n7IaYQAw0VSkQFO1wXwQjuGbhvheiV6ZJDkpaEIeLU="; - }; - - cargoHash = "sha256-S3Z2tHQuv17Dvg2VMFDeOvDzyLfIPROcFMsYOoCscqM="; - - nativeBuildInputs = with pkgs;[ - pkg-config - glib - wrapGAppsHook4 - ]; - - buildInputs = with pkgs;[ - gtk4 - libadwaita - pulseaudio - dbus - gdk-pixbuf - gnome.adwaita-icon-theme - ]; - - postInstall = '' - install -D --mode=444 $src/${pname}.desktop $out/share/applications/${pname}.desktop - install -D --mode=444 $src/src/resources/icons/ReSet.svg $out/share/pixmaps/ReSet.svg - ''; - - meta = with lib; { - description = ""; - homepage = "https://github.com/Xetibo/ReSet"; - changelog = "https://github.com/Xetibo/ReSet/releases/tag/${version}"; - license = licenses.gpl3; - maintainers = with maintainers; [ DashieTM ]; - mainProgram = "reset"; - }; -} diff --git a/nix/programs/common.nix b/nix/programs/common.nix index e29247c..b089acf 100644 --- a/nix/programs/common.nix +++ b/nix/programs/common.nix @@ -48,32 +48,23 @@ in brave greetd.regreet sops - (callPackage - ../override/oxinoti.nix - { }) - (callPackage - ../override/oxidash.nix - { }) - (callPackage - ../override/oxicalc.nix - { }) - (callPackage - ../override/oxipaste.nix - { }) - (callPackage - ../override/oxishut.nix - { }) + flake-checker (callPackage ../override/streamdeck.nix { }) - (callPackage - ../override/reset.nix - { }) (callPackage ../override/cambalache.nix { }) ]; + #my own programs + programs.oxicalc.enable = true; + programs.oxinoti.enable = true; + programs.oxidash.enable = true; + programs.oxishut.enable = true; + programs.oxipaste.enable = true; + programs.reset.enable = true; + home.username = "dashie"; home.homeDirectory = "/home/dashie"; home.stateVersion = "24.05"; diff --git a/nix/programs/default.nix b/nix/programs/default.nix index c8c231a..c23ce99 100644 --- a/nix/programs/default.nix +++ b/nix/programs/default.nix @@ -1,10 +1,15 @@ { inputs, pkgs, mod, ... }: let base_imports = [ - inputs.hyprland.homeManagerModules.default inputs.hyprlock.homeManagerModules.default inputs.anyrun.homeManagerModules.default inputs.ironbar.homeManagerModules.default + inputs.oxicalc.homeManagerModules.default + inputs.oxishut.homeManagerModules.default + inputs.oxinoti.homeManagerModules.default + inputs.oxidash.homeManagerModules.default + inputs.oxipaste.homeManagerModules.default + inputs.reset.homeManagerModules.default inputs.nix-flatpak.homeManagerModules.nix-flatpak inputs.sops-nix.homeManagerModules.sops ];