mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-05-13 06:35:15 +00:00
lil pimpx yeah
This commit is contained in:
parent
9883557ba1
commit
05c8bd7068
10 changed files with 45 additions and 40 deletions
|
@ -6,7 +6,7 @@
|
|||
|_|\_||_|/_\_\ \___/ |___/ |_| |_|\__,_||_\_\\___|
|
||||
'';
|
||||
|
||||
outputs = a: import ./lib a;
|
||||
outputs = x: import ./xlib x;
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
|
|
@ -1,36 +1,38 @@
|
|||
{
|
||||
jetpure = {
|
||||
path = {
|
||||
flakeDir = "/persist/flake";
|
||||
pass = "/persist/vault/passwords.kdbx";
|
||||
nixos = {
|
||||
pcRyazhenka = {
|
||||
path = {
|
||||
flakeDir = "/persist/flake";
|
||||
pass = "/persist/vault/passwords.kdbx";
|
||||
};
|
||||
sys = {
|
||||
hostName = "jetpure";
|
||||
userName = "nixzoid";
|
||||
is = "desktop";
|
||||
platform = "x86_64-linux";
|
||||
ver = "24.05";
|
||||
};
|
||||
styl = {
|
||||
theme = "paradise";
|
||||
image = "lampa";
|
||||
};
|
||||
};
|
||||
sys = {
|
||||
hostName = "jetpure";
|
||||
userName = "nixzoid";
|
||||
is = "desktop";
|
||||
platform = "x86_64-linux";
|
||||
ver = "24.05";
|
||||
};
|
||||
styl = {
|
||||
theme = "paradise";
|
||||
image = "lampa";
|
||||
};
|
||||
};
|
||||
embrace = {
|
||||
path = {
|
||||
flakeDir = "/persist/flake";
|
||||
pass = "/persist/vault/passwords.kdbx";
|
||||
};
|
||||
sys = {
|
||||
hostName = "embrace";
|
||||
userName = "huggyer";
|
||||
is = "laptop";
|
||||
platform = "x86_64-linux";
|
||||
ver = "24.05";
|
||||
};
|
||||
styl = {
|
||||
theme = "neo-gen";
|
||||
image = "town";
|
||||
thinkpadT14 = {
|
||||
path = {
|
||||
flakeDir = "/persist/flake";
|
||||
pass = "/persist/vault/passwords.kdbx";
|
||||
};
|
||||
sys = {
|
||||
hostName = "embrace";
|
||||
userName = "huggyer";
|
||||
is = "laptop";
|
||||
platform = "x86_64-linux";
|
||||
ver = "24.05";
|
||||
};
|
||||
styl = {
|
||||
theme = "neo-gen";
|
||||
image = "town";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
|
||||
{
|
||||
home.shellAliases = with pkgs; {
|
||||
rebuild = "nh os switch";
|
||||
rebuild = "nh os switch -H ${lib.x.machine}";
|
||||
# quality of life
|
||||
e = "$EDITOR";
|
||||
c = "clear";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
outputs = args: import ./outputs.nix args;
|
||||
outputs = x: import ./outputs.nix x;
|
||||
inputs.n.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ let
|
|||
inherit (inputs) nixpkgs home nixcord;
|
||||
# make configuration
|
||||
mkMachine =
|
||||
dirName:
|
||||
machine:
|
||||
{
|
||||
path ? {
|
||||
pass = null;
|
||||
|
@ -34,7 +34,12 @@ let
|
|||
final: prev: {
|
||||
x =
|
||||
{
|
||||
inherit path styl sys;
|
||||
inherit
|
||||
machine
|
||||
path
|
||||
styl
|
||||
sys
|
||||
;
|
||||
}
|
||||
// import ./options.nix { inherit self pkgs lib; }
|
||||
// import ./mkOpt.nix { inherit lib; };
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
self,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
@ -10,7 +8,6 @@ with types;
|
|||
|
||||
{
|
||||
# ylib & stylix
|
||||
customPkgs = name: pkgs.callPackage "${self}/pkgs/${name}";
|
||||
umport = import ./umport.nix { inherit lib; };
|
||||
baseName = lib.filter (path: baseNameOf path == "default.nix");
|
||||
|
|
@ -10,7 +10,8 @@ let
|
|||
in
|
||||
|
||||
{
|
||||
nixosConfigurations = build (import "${self}/machines");
|
||||
nixosConfigurations = build (import "${self}/machines").nixos;
|
||||
|
||||
formatter =
|
||||
let
|
||||
mk = nixpkgs.lib.genAttrs [
|
Loading…
Add table
Add a link
Reference in a new issue