1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2024-12-27 19:03: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, ... }:
let
# CONFIGURATION
X = import ../libx/builder.nix {
flake = import ../libx/builder.nix {
inherit inputs lib;
disk = "/dev/disk/by-uuid/d8440438-2f95-4854-b139-bf0a3e91a81f";
# VARIABLES
@ -22,5 +22,5 @@ let
};
in
{
flake = X.flake;
inherit flake;
}

View file

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

View file

@ -14,56 +14,53 @@
dev,
...
}:
{
flake =
let
# OTHER
inherit (inputs.nixpkgs.lib) nixosSystem;
inherit (inputs.home-manager.lib) homeManagerConfiguration;
pkgs = inputs.nixpkgs.legacyPackages.${plfrm};
# NEEDS
sec = import ./secrets.nix;
x =
import ./options.nix {
inherit
theme
inputs
pkgs
lib
;
}
// {
inherit
disk
hostName
userName
flakeDir
is
plfrm
ver
dev
sec
;
};
# ARGS
args = { inherit x inputs; };
in
{
# CONFIGURATION
nixosConfigurations.${hostName} = nixosSystem {
modules = [
../modules/nixos
../${hostName}/host
];
specialArgs = args;
};
homeConfigurations.${userName} = homeManagerConfiguration {
modules = [
../modules/home
../${hostName}/home
];
extraSpecialArgs = args;
inherit pkgs;
};
let
# OTHER
inherit (inputs.nixpkgs.lib) nixosSystem;
inherit (inputs.home-manager.lib) homeManagerConfiguration;
pkgs = inputs.nixpkgs.legacyPackages.${plfrm};
# NEEDS
sec = import ./secrets.nix;
x =
import ./options.nix {
inherit
theme
inputs
pkgs
lib
;
}
// {
inherit
disk
hostName
userName
flakeDir
is
plfrm
ver
dev
sec
;
};
# ARGS
args = { inherit x inputs; };
in
{
# CONFIGURATION
nixosConfigurations.${hostName} = nixosSystem {
modules = [
../modules/nixos
../${hostName}/host
];
specialArgs = args;
};
homeConfigurations.${userName} = homeManagerConfiguration {
modules = [
../modules/home
../${hostName}/home
];
extraSpecialArgs = args;
inherit pkgs;
};
}