1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-16 07:33:53 +00:00

ya v ahue, ono workaet

This commit is contained in:
neverness 2024-12-22 11:09:51 +09:00
parent 37173ef36a
commit d828b0a628
3 changed files with 51 additions and 54 deletions

View file

@ -1,7 +1,7 @@
{ inputs, lib, ... }: { inputs, lib, ... }:
let let
# CONFIGURATION # CONFIGURATION
X = import ../libx/builder.nix { flake = import ../libx/builder.nix {
inherit inputs lib; inherit inputs lib;
disk = "/dev/disk/by-uuid/d8440438-2f95-4854-b139-bf0a3e91a81f"; disk = "/dev/disk/by-uuid/d8440438-2f95-4854-b139-bf0a3e91a81f";
# VARIABLES # VARIABLES
@ -22,5 +22,5 @@ let
}; };
in in
{ {
flake = X.flake; inherit flake;
} }

View file

@ -1,5 +1,4 @@
{ pkgs, ... }: { pkgs, ... }:
with pkgs;
{ {
module.wm.hyprland = { module.wm.hyprland = {
autostart = [ "mako" ]; autostart = [ "mako" ];
@ -8,6 +7,7 @@ with pkgs;
c = "--class"; c = "--class";
pic = "$(xdg-user-dir PICTURES)/$(date +'scr_%d-%m-%y|%H:%M:%S.png')"; pic = "$(xdg-user-dir PICTURES)/$(date +'scr_%d-%m-%y|%H:%M:%S.png')";
in in
with pkgs;
[ [
# PROGRAMS # PROGRAMS
"$m, $rt, exec, kitty" "$m, $rt, exec, kitty"

View file

@ -14,9 +14,7 @@
dev, dev,
... ...
}: }:
{ let
flake =
let
# OTHER # OTHER
inherit (inputs.nixpkgs.lib) nixosSystem; inherit (inputs.nixpkgs.lib) nixosSystem;
inherit (inputs.home-manager.lib) homeManagerConfiguration; inherit (inputs.home-manager.lib) homeManagerConfiguration;
@ -47,8 +45,8 @@
}; };
# ARGS # ARGS
args = { inherit x inputs; }; args = { inherit x inputs; };
in in
{ {
# CONFIGURATION # CONFIGURATION
nixosConfigurations.${hostName} = nixosSystem { nixosConfigurations.${hostName} = nixosSystem {
modules = [ modules = [
@ -65,5 +63,4 @@
extraSpecialArgs = args; extraSpecialArgs = args;
inherit pkgs; inherit pkgs;
}; };
};
} }