1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-05-13 05:55:16 +00:00

add iso image

This commit is contained in:
nixzoid 2025-02-19 16:23:03 +09:00
parent 05c8bd7068
commit b1250a5fcb
18 changed files with 85 additions and 37 deletions
flake.lock
machines
modules
home
misc/home-manager
programs/gui/qutebrowser
shells/alias
themes/stylix
nixos
base
programs/torrserver
services
tailscale
transmission
pkgs
xlib/builder

2
flake.lock generated
View file

@ -723,7 +723,7 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-crgMp/Fqch/JuEHoFrXMAqvGzjQmTAQ/tE5VEYy+Zbg=",
"narHash": "sha256-sqiwECSAWTdYkRhW36rK357dPIMGIsO09lgvvBt0b1s=",
"path": "./pkgs",
"type": "path"
},

View file

@ -1,10 +1,6 @@
{
nixos = {
pcRyazhenka = {
path = {
flakeDir = "/persist/flake";
pass = "/persist/vault/passwords.kdbx";
};
pcRyaz = {
sys = {
hostName = "jetpure";
userName = "nixzoid";
@ -12,16 +8,16 @@
platform = "x86_64-linux";
ver = "24.05";
};
path = {
flakeDir = "/persist/flake";
pass = "/persist/vault/passwords.kdbx";
};
styl = {
theme = "paradise";
image = "lampa";
};
};
thinkpadT14 = {
path = {
flakeDir = "/persist/flake";
pass = "/persist/vault/passwords.kdbx";
};
sys = {
hostName = "embrace";
userName = "huggyer";
@ -29,10 +25,27 @@
platform = "x86_64-linux";
ver = "24.05";
};
path = {
flakeDir = "/persist/flake";
pass = "/persist/vault/passwords.kdbx";
};
styl = {
theme = "neo-gen";
image = "town";
};
};
isoNixtended = {
sys = {
hostName = "sus";
userName = "amogus";
is = "iso";
platform = "x86_64-linux";
ver = "24.05";
};
styl = {
theme = "horizon-dark";
image = "town";
};
};
};
}

View file

@ -31,7 +31,7 @@ in
hut
sd
xpk.lowfi
xpk.pkgs.lowfi
];
};
}

View file

@ -37,8 +37,8 @@ in
hut
sd
xpk.lowfi
xpk.anicliru
xpk.pkgs.lowfi
xpk.pkgs.anicliru
];
};
}

View file

@ -33,7 +33,7 @@ in
gvfs = on;
polkit = on;
printing = off;
tailscale = off;
tailscale = on;
tlp = off;
transmission = off // {
tui = off;
@ -42,7 +42,7 @@ in
};
programs = {
common = on;
hamachi = off;
hamachi = on;
hyprland = on;
steam = on;
sway = off;

View file

@ -0,0 +1,20 @@
{ lib, ... }:
let
inherit (lib.x) on umport;
in
{
imports = umport {
path = ./.;
exclude = [ ./default.nix ];
};
module = {
themes.stylix = on;
base = on;
services = {
amneziawg = on;
zram.algo = "zstd";
};
};
}

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
programs = {
git.package = pkgs.gitMinimal;
};
environment.systemPackages = with pkgs; [
helix
disko
vim
];
}

View file

@ -12,7 +12,7 @@ let
in
{
home.activation.rebuildFinish = dag ''
home.activation.rebuildFinish = lib.mkIf (lib.x.sys.is != "iso") (dag ''
run ${libnotify}/bin/notify-send "Home-Manager rebuild finished" -t 1500 -i "${papirus}/share/icons/Papirus-Dark/64x64/apps/nix-snowflake.svg"
'';
'');
}

View file

@ -6,8 +6,8 @@
let
inherit (lib) x;
transPop = inputs.xpk.qTransPop;
transPag = inputs.xpk.qTransPag;
transPop = inputs.xpk.pkgs.qTransPop;
transPag = inputs.xpk.pkgs.qTransPag;
in
{

View file

@ -11,7 +11,7 @@ in
{
home.shellAliases = with pkgs; {
rebuild = "nh os switch -H ${lib.x.machine}";
rebuild = "nh os switch -H ${lib.x.machineName}";
# quality of life
e = "$EDITOR";
c = "clear";

View file

@ -30,7 +30,7 @@ in
tinos
code-new-roman
dejavu-sans-mono
inputs.xpk.base16-preview
inputs.xpk.pkgs.base16-preview
];
stylix = on // {
autoEnable = false;

View file

@ -26,7 +26,7 @@ in
systemd-boot = on // {
configurationLimit = 4;
};
timeout = 0;
timeout = mkForce 0;
};
};
networking = {
@ -35,6 +35,7 @@ in
nameservers = [
"::1"
"127.0.0.1"
"100.100.100.100"
"1.0.0.1"
"1.1.1.1"
"8.8.8.8"

View file

@ -28,7 +28,7 @@ in
];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${inputs.xpk.torrserver}/bin/torrserver";
ExecStart = "${inputs.xpk.pkgs.torrserver}/bin/torrserver";
Restart = "on-failure";
Type = "simple";
TimeoutSec = 30;

View file

@ -20,6 +20,7 @@ in
config = mkIf cfg.enable {
services.tailscale = on // {
useRoutingFeatures = "both";
openFirewall = true;
};
};
}

View file

@ -23,7 +23,7 @@ in
config = mkMerge [
(mkIf cfg.tui.enable {
environment.systemPackages = with pkgs; [
inputs.xpk.torque
inputs.xpk.pkgs.torque
rustmission
];
})

10
pkgs/flake.lock generated
View file

@ -1,12 +1,12 @@
{
"nodes": {
"nixpkgs": {
"n": {
"locked": {
"lastModified": 1739446958,
"narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=",
"lastModified": 1739580444,
"narHash": "sha256-+/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN+24g4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2ff53fe64443980e139eaa286017f53f88336dd0",
"rev": "8bb37161a0488b89830168b81c48aed11569cb93",
"type": "github"
},
"original": {
@ -18,7 +18,7 @@
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
"n": "n"
}
}
},

View file

@ -26,5 +26,6 @@ let
legacyPackages = scope.packages scope;
scope = scopeFromDirectory ./pkgs;
in
flattenPkgs "/" [ ] legacyPackages
{
pkgs = flattenPkgs "/" [ ] legacyPackages;
}

View file

@ -8,12 +8,8 @@ let
inherit (inputs) nixpkgs home nixcord;
# make configuration
mkMachine =
machine:
machineName:
{
path ? {
pass = null;
flakeDir = "/etc/nixos";
},
sys ? {
hostName = "starship";
userName = "amogus";
@ -21,6 +17,10 @@ let
platform = "x86_64-linux";
ver = "24.05";
},
path ? {
pass = null;
flakeDir = "/etc/nixos";
},
styl ? {
theme = "horizon-dark";
image = "train";
@ -35,7 +35,7 @@ let
x =
{
inherit
machine
machineName
path
styl
sys