many changes, too lazy to explain
This commit is contained in:
parent
dbefc3ec9e
commit
5122fa1811
24 changed files with 207 additions and 103 deletions
1
TODO.md
1
TODO.md
|
|
@ -1,5 +1,6 @@
|
||||||
- [ ] Update the README.md
|
- [ ] Update the README.md
|
||||||
- [ ] switch ssh keys to ECC (fuck RSA)
|
- [ ] switch ssh keys to ECC (fuck RSA)
|
||||||
|
- [ ] forgejo not post-quantum (fix that)
|
||||||
|
|
||||||
- [X] migrate forge.dobutterfliescry.net -> tearforge.net
|
- [X] migrate forge.dobutterfliescry.net -> tearforge.net
|
||||||
- [X] rename forgejo user to git
|
- [X] rename forgejo user to git
|
||||||
|
|
|
||||||
20
colors.rasi
Normal file
20
colors.rasi
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
* {
|
||||||
|
background: rgba(51,37,65,0.9);
|
||||||
|
foreground: rgba(198,186,227,0.9);
|
||||||
|
color00: rgba(78,66,70,0.9);
|
||||||
|
color01: rgba(111,91,159,0.9);
|
||||||
|
color02: rgba(120,98,164,0.9);
|
||||||
|
color03: rgba(131,128,181,0.9);
|
||||||
|
color04: rgba(154,127,183,0.9);
|
||||||
|
color05: rgba(157,129,185,0.9);
|
||||||
|
color06: rgba(123,153,183,0.9);
|
||||||
|
color07: rgba(165,148,207,0.9);
|
||||||
|
color08: rgba(115,103,145,0.9);
|
||||||
|
color09: rgba(129,102,193,0.9);
|
||||||
|
color10: rgba(140,112,199,0.9);
|
||||||
|
color11: rgba(145,141,218,0.9);
|
||||||
|
color12: rgba(170,126,217,0.9);
|
||||||
|
color13: rgba(174,130,220,0.9);
|
||||||
|
color14: rgba(135,181,228,0.9);
|
||||||
|
color15: rgba(165,148,207,0.9);
|
||||||
|
}
|
||||||
94
flake.lock
generated
94
flake.lock
generated
|
|
@ -3,7 +3,9 @@
|
||||||
"cerulean": {
|
"cerulean": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"deploy-rs": "deploy-rs",
|
"deploy-rs": "deploy-rs",
|
||||||
"home-manager": "home-manager",
|
"home-manager": [
|
||||||
|
"home-manager"
|
||||||
|
],
|
||||||
"microvm": "microvm",
|
"microvm": "microvm",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
@ -16,17 +18,17 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771194110,
|
"lastModified": 1771399468,
|
||||||
"narHash": "sha256-x6rijGWmPL5FTpkr+8vpcKKCOT33QHEV8bP6ibEAXFE=",
|
"narHash": "sha256-Nppe/RD8/zJZ9e1vhX/Ma1fKZ+rMbp8ZFPMflTLGbk8=",
|
||||||
"owner": "cry128",
|
"ref": "refs/heads/main",
|
||||||
"repo": "Cerulean",
|
"rev": "870bbb1f3738736ea248c171685bffdb242e294a",
|
||||||
"rev": "d527937829dec0f410f126a2f85e374cb99a2fbb",
|
"revCount": 172,
|
||||||
"type": "github"
|
"type": "git",
|
||||||
|
"url": "https://tearforge.net/cry/cerulean"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "cry128",
|
"type": "git",
|
||||||
"repo": "Cerulean",
|
"url": "https://tearforge.net/cry/cerulean"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"deploy-rs": {
|
"deploy-rs": {
|
||||||
|
|
@ -65,17 +67,17 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770947070,
|
"lastModified": 1771281537,
|
||||||
"narHash": "sha256-g/l/iUET/M+nSrXlwYF2e0KeKqgGpjy3qhwQY4tG62A=",
|
"narHash": "sha256-mSFKM4DEvg1mMk3WaE4VQHOEg4UUxfqqfYUnIxeQeQE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "4fc28bfb4f95071d34184c7ba3153eaff87eba41",
|
"rev": "3678fe95787bb660c4e9ff9933c5d03693a07a76",
|
||||||
"revCount": 121,
|
"revCount": 122,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://forge.dobutterfliescry.net/cry/site"
|
"url": "https://tearforge.net/cry/site"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://forge.dobutterfliescry.net/cry/site"
|
"url": "https://tearforge.net/cry/site"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
|
|
@ -169,28 +171,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"cerulean",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1770260404,
|
|
||||||
"narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"ref": "release-25.11",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager_2": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
@ -220,11 +200,11 @@
|
||||||
"spectrum": "spectrum"
|
"spectrum": "spectrum"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770310890,
|
"lastModified": 1771365290,
|
||||||
"narHash": "sha256-lyWAs4XKg3kLYaf4gm5qc5WJrDkYy3/qeV5G733fJww=",
|
"narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=",
|
||||||
"owner": "microvm-nix",
|
"owner": "microvm-nix",
|
||||||
"repo": "microvm.nix",
|
"repo": "microvm.nix",
|
||||||
"rev": "68c9f9c6ca91841f04f726a298c385411b7bfcd5",
|
"rev": "789c90b164b55b4379e7a94af8b9c01489024c18",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -304,11 +284,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770943752,
|
"lastModified": 1771375681,
|
||||||
"narHash": "sha256-3vWAy2BCP5liaCEKmeqeVWbTCF/JnukgMOg8qf8mCcg=",
|
"narHash": "sha256-qDDw0ruBZ1kt63j4uVP5Xrd1OxGKIYrSFnig0z6ozSw=",
|
||||||
"owner": "FlameFlag",
|
"owner": "FlameFlag",
|
||||||
"repo": "nixcord",
|
"repo": "nixcord",
|
||||||
"rev": "aa1626057e57eca3686fbc1c3e2ddfde884c6b2a",
|
"rev": "d030dbb48ab020092681a39c878c1d48a553ffc1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -319,11 +299,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770770419,
|
"lastModified": 1771208521,
|
||||||
"narHash": "sha256-iKZMkr6Cm9JzWlRYW/VPoL0A9jVKtZYiU4zSrVeetIs=",
|
"narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6c5e707c6b5339359a9a9e215c5e66d6d802fd7a",
|
"rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -350,11 +330,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770841267,
|
"lastModified": 1771008912,
|
||||||
"narHash": "sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44=",
|
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ec7c70d12ce2fc37cb92aff673dcdca89d187bae",
|
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -389,15 +369,15 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770975056,
|
"lastModified": 1770975056,
|
||||||
"narHash": "sha256-ZXTz/P3zUbbM6lNXzt91u8EwfNqhXpYMu8+wvFZqQHE=",
|
"narHash": "sha256-ZXTz/P3zUbbM6lNXzt91u8EwfNqhXpYMu8+wvFZqQHE=",
|
||||||
"owner": "cry128",
|
"ref": "refs/heads/main",
|
||||||
"repo": "nt",
|
|
||||||
"rev": "f42dcdd49a7921a7f433512e83d5f93696632412",
|
"rev": "f42dcdd49a7921a7f433512e83d5f93696632412",
|
||||||
"type": "github"
|
"revCount": 205,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://tearforge.net/cry/nt"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "cry128",
|
"type": "git",
|
||||||
"repo": "nt",
|
"url": "https://tearforge.net/cry/nt"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
|
|
@ -405,7 +385,7 @@
|
||||||
"cerulean": "cerulean",
|
"cerulean": "cerulean",
|
||||||
"dobutterfliescry-net": "dobutterfliescry-net",
|
"dobutterfliescry-net": "dobutterfliescry-net",
|
||||||
"grub2-themes": "grub2-themes",
|
"grub2-themes": "grub2-themes",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager",
|
||||||
"nix-flatpak": "nix-flatpak",
|
"nix-flatpak": "nix-flatpak",
|
||||||
"nixcord": "nixcord",
|
"nixcord": "nixcord",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
|
|
||||||
18
flake.nix
18
flake.nix
|
|
@ -12,16 +12,16 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nt.url = "github:cry128/nt";
|
nt.url = "git+https://tearforge.net/cry/nt";
|
||||||
# nt.url = "/home/me/cry/mk/nt";
|
|
||||||
|
|
||||||
cerulean = {
|
cerulean = {
|
||||||
url = "github:cry128/Cerulean";
|
# url = "git+https://tearforge.net/cry/cerulean";
|
||||||
# url = "/home/me/cry/mk/Cerulean";
|
url = "/home/me/cry/mk/cerulean";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
nt.follows = "nt";
|
||||||
systems.follows = "systems";
|
systems.follows = "systems";
|
||||||
nixpkgs.follows = "nixpkgs";
|
nixpkgs.follows = "nixpkgs";
|
||||||
nt.follows = "nt";
|
home-manager.follows = "home-manager";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
dobutterfliescry-net = {
|
dobutterfliescry-net = {
|
||||||
url = "git+https://forge.dobutterfliescry.net/cry/site";
|
url = "git+https://tearforge.net/cry/site";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.follows = "nixpkgs";
|
nixpkgs.follows = "nixpkgs";
|
||||||
nixpkgs-unstable.follows = "nixpkgs-unstable";
|
nixpkgs-unstable.follows = "nixpkgs-unstable";
|
||||||
|
|
@ -50,6 +50,8 @@
|
||||||
extra-experimental-features = "pipe-operators";
|
extra-experimental-features = "pipe-operators";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs:
|
outputs = inputs: let
|
||||||
import ./snow.nix inputs;
|
inherit (inputs.cerulean) snow;
|
||||||
|
in
|
||||||
|
snow.flake inputs ./.;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,16 @@
|
||||||
|
|
||||||
# NOTE: mkDefault is 1000 and mkForce is 50
|
# NOTE: mkDefault is 1000 and mkForce is 50
|
||||||
# NOTE: so this is like a second mkDefault
|
# NOTE: so this is like a second mkDefault
|
||||||
security.sudo.wheelNeedsPassword = lib.mkDefault true;
|
security.sudo.wheelNeedsPassword = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
firewall.enable = lib.mkDefault true;
|
firewall = {
|
||||||
|
enable = lib.mkDefault true;
|
||||||
|
allowPing = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
# Use CloudFlare's WARP+ 1.1.1.1 DNS service
|
# Use CloudFlare's WARP+ 1.1.1.1 DNS service
|
||||||
nameservers = [
|
nameservers = [
|
||||||
|
|
@ -28,6 +31,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
clean.extraArgs = "--keep-since 7d --keep 3";
|
clean.extraArgs = "--keep-since 7d --keep 3";
|
||||||
|
# TODO: move nh config to be home-manager
|
||||||
flake = "/home/me/flake"; # sets NH_OS_FLAKE variable for you
|
flake = "/home/me/flake"; # sets NH_OS_FLAKE variable for you
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,20 @@
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
upkgs,
|
upkgs,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = with inputs; [
|
||||||
./programs.nix
|
./programs.nix
|
||||||
|
|
||||||
../../hosts/modules/bashistrans.nix
|
../../hosts/modules/bashistrans.nix
|
||||||
../../hosts/modules/wm/hyprland.nix
|
../../hosts/modules/wm/hyprland.nix
|
||||||
../../hosts/modules/steam.nix
|
../../hosts/modules/steam.nix
|
||||||
../../hosts/modules/obsidian.nix
|
../../hosts/modules/obsidian.nix
|
||||||
|
|
||||||
|
grub2-themes.nixosModules.default
|
||||||
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub2-theme = {
|
boot.loader.grub2-theme = {
|
||||||
|
|
|
||||||
|
|
@ -111,13 +111,12 @@
|
||||||
libargon2
|
libargon2
|
||||||
];
|
];
|
||||||
|
|
||||||
services.pcscd.enable = true;
|
# services.pcscd.enable = true;
|
||||||
|
# programs = {
|
||||||
programs = {
|
# gnupg.agent = {
|
||||||
gnupg.agent = {
|
# enable = true;
|
||||||
enable = true;
|
# pinentryPackage = pkgs.pinentry-curses;
|
||||||
pinentryPackage = pkgs.pinentry-curses;
|
# enableSSHSupport = true;
|
||||||
enableSSHSupport = true;
|
# };
|
||||||
};
|
# };
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
ignoreIP = ["192.168.0.0/16"];
|
||||||
maxretry = 5;
|
maxretry = 5;
|
||||||
bantime = "10m"; # 10 minute ban
|
bantime = "10m"; # 10 minute ban
|
||||||
bantime-increment = {
|
bantime-increment = {
|
||||||
|
|
@ -69,6 +70,7 @@
|
||||||
extraGroups = ["wheel"];
|
extraGroups = ["wheel"];
|
||||||
openssh.authorizedKeys.keys = lib.mkDefault [
|
openssh.authorizedKeys.keys = lib.mkDefault [
|
||||||
(throw ''
|
(throw ''
|
||||||
|
You goofy goober :3
|
||||||
Hosts in the `server` group must set `users.users.cry.openssh.authorizedKeys.keys = [ ... ]`.
|
Hosts in the `server` group must set `users.users.cry.openssh.authorizedKeys.keys = [ ... ]`.
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -118,25 +118,31 @@
|
||||||
hostname = "dobutterfliescry.net";
|
hostname = "dobutterfliescry.net";
|
||||||
user = "cry";
|
user = "cry";
|
||||||
port = 42069;
|
port = 42069;
|
||||||
identityFile = "~/.ssh/id_butterfly";
|
identityFile = "~/keys/butterfly";
|
||||||
setEnv = {
|
setEnv = {
|
||||||
TERM = "linux";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
clocktown = {
|
hyrule = {
|
||||||
hostname = "hyrule.dobutterfliescry.net";
|
hostname = "hyrule.dobutterfliescry.net";
|
||||||
user = "cry";
|
user = "cry";
|
||||||
port = 42069;
|
port = 42069;
|
||||||
identityFile = "~/.ssh/id_hyrule";
|
identityFile = "~/keys/hyrule";
|
||||||
setEnv = {
|
setEnv = {
|
||||||
TERM = "linux";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
matcha = {
|
||||||
|
hostname = "192.168.88.250";
|
||||||
|
user = "emile";
|
||||||
|
port = 22;
|
||||||
|
identityFile = "~/keys/matcha";
|
||||||
|
};
|
||||||
youcue = {
|
youcue = {
|
||||||
hostname = "moss.labs.eait.uq.edu.au";
|
hostname = "moss.labs.eait.uq.edu.au";
|
||||||
user = "s4740056";
|
user = "s4740056";
|
||||||
port = 22;
|
port = 22;
|
||||||
identityFile = "~/.ssh/id_youcue";
|
identityFile = "~/keys/other/youcue";
|
||||||
setEnv = {
|
setEnv = {
|
||||||
TERM = "xterm-256color";
|
TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware.nix
|
||||||
|
|
||||||
./services
|
./services
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# super duper minimum grub2 config
|
# super duper minimum grub2 config
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "lolcathost";
|
networking.hostName = "lolcathost";
|
||||||
|
|
|
||||||
26
hosts/matcha/default.nix
Normal file
26
hosts/matcha/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./hardware.nix
|
||||||
|
./state.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.loader = {
|
||||||
|
efi = {
|
||||||
|
canTouchEfiVariables = true;
|
||||||
|
efiSysMountPoint = "/boot/efi";
|
||||||
|
};
|
||||||
|
grub = {
|
||||||
|
efiSupport = true;
|
||||||
|
device = "nodev";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.hostName = "matcha";
|
||||||
|
|
||||||
|
users.users.cry = {
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYwbPjW26fHivB+UpxRArY7nFI09VLAD9xxOiPk/u+YPAOVR8SYTpsHj3L8kI3ENRtt3PRJb97ZfLpPaAJ0LJiZv4qzisDjbfck12FxSDseQlF2JaJZ4wrJ9llcqJbRLKd5wV4KotrDm8Ct2JSBFOdTBQBGJqtNrLOcAtDqVmDPXsWyONINegtcYHumTbJcQU1ksCABdjW5R1dhJesOuMOM8EvrUtDyftvD7sgnBlXTzybP9c1AphUuBMSR5yEz/cDl+iPtQq7tgB+iepCCuNMGQu1wZFPBCMrZtMoxq6gzmZ4oV+W6tfmGEbtdkY+ix+2j960Zngcw7Gj+aYyMY2TyVJuJmIvlzfcrlsbr1TH35Y/5oYhJA+X6aFpgomUsurJ6/QdI1wQ+ceUCnZEeg/8z+WNaq/Bp2hPzT9Y7SPWolpaotDhh9wiuyVqn5VQqwL2lELfvZM4Lu8l6vRPDeMZTemI1nc5jg3aVpJqZTPqFVcCWrWXfdCFwnfy/SdU0JAprCzVvoqkwDHsJwkxY/NcxlNGNha+8oYZgSH1CZhEp3Z7CDJCTDd5PxxCQHs90ENCWFsoGQIV01dAgwD63460En9q2kGr6gO2aRewMD5Vr8AzeGV87vsR3ARpPQVzEWLX08B076Idjwrz8aebdRYBEg7WCxRe5UVI1i/V8j/zQw== emile@deadlyserver.com"
|
||||||
|
"ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAGEvtRs3C4hjSuvVm2lukqOvObCz5gVlFthcvpGHAqlBgZo47CNJM78WoviEQWceqtu9ZzJdRJ7qEK9ZGvTM0XTSgExkOs6YdS3J7M3i3YS1vcj9KVPinLhiE90aED/319pbYKFrRs/lRzl8XLeaPNqenNMNJBqeary8+r5u9JC6zYCeQ== me@lolcathost"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
33
hosts/matcha/hardware.nix
Normal file
33
hosts/matcha/hardware.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/d54a5644-744b-4b2a-8c4b-c12836498724";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot/efi" =
|
||||||
|
{ device = "/dev/disk/by-uuid/12CE-A600";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/9513ded6-662e-42f7-926e-64d198c2ae7c"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
20
hosts/matcha/state.nix
Normal file
20
hosts/matcha/state.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{...}: {
|
||||||
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
|
#
|
||||||
|
# Most users should NEVER change this value after the initial install, for any reason,
|
||||||
|
# even if you've upgraded your system to a new NixOS release.
|
||||||
|
#
|
||||||
|
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
|
||||||
|
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
|
||||||
|
# to actually do that.
|
||||||
|
#
|
||||||
|
# This value being lower than the current NixOS release does NOT mean your system is
|
||||||
|
# out of date, out of support, or vulnerable.
|
||||||
|
#
|
||||||
|
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
||||||
|
# and migrated your data accordingly.
|
||||||
|
#
|
||||||
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
|
system.stateVersion = "25.11"; # Did you read the comment?
|
||||||
|
}
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
} @ args: {
|
} @ args: {
|
||||||
nixpkgs.channels.default = rec {
|
nixpkgs.channels = rec {
|
||||||
default = pkgs;
|
default = pkgs;
|
||||||
# nixpkgs (stable branch)
|
# nixpkgs (stable branch)
|
||||||
pkgs = {
|
pkgs = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{inputs, ...}: (
|
{...}: (
|
||||||
self: super: {
|
self: super: {
|
||||||
angry-oxide = import ../packages/angryoxide {
|
angry-oxide = import ../packages/angryoxide {
|
||||||
pkgs = super;
|
pkgs = super;
|
||||||
|
|
|
||||||
35
snow.nix
35
snow.nix
|
|
@ -1,7 +1,8 @@
|
||||||
{cerulean, ...} @ inputs:
|
{cerulean, ...} @ inputs:
|
||||||
cerulean.mkNexus ./. (self: {
|
cerulean.mkNexus ./. (self: {
|
||||||
nexus = {
|
nexus = {
|
||||||
specialArgs = {inherit inputs;};
|
base = inputs.nixpkgs;
|
||||||
|
args = {inherit inputs;};
|
||||||
|
|
||||||
groups = {
|
groups = {
|
||||||
# wait.. that's too cold...
|
# wait.. that's too cold...
|
||||||
|
|
@ -23,20 +24,20 @@ cerulean.mkNexus ./. (self: {
|
||||||
lolcathost = {
|
lolcathost = {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
groups = [groups.cryos.cryde];
|
groups = [groups.cryos.cryde];
|
||||||
extraModules = with inputs; [
|
# modules = with inputs; [
|
||||||
grub2-themes.nixosModules.default
|
# grub2-themes.nixosModules.default
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
# nix-flatpak.nixosModules.nix-flatpak
|
||||||
];
|
# ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# i be on my puter frfr
|
# i be on my puter frfr
|
||||||
myputer = {
|
myputer = {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
groups = [groups.cryos.cryde];
|
groups = [groups.cryos.cryde];
|
||||||
extraModules = with inputs; [
|
# modules = with inputs; [
|
||||||
grub2-themes.nixosModules.default
|
# grub2-themes.nixosModules.default
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
# nix-flatpak.nixosModules.nix-flatpak
|
||||||
];
|
# ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# courtesy of aurora <3
|
# courtesy of aurora <3
|
||||||
|
|
@ -61,11 +62,17 @@ cerulean.mkNexus ./. (self: {
|
||||||
};
|
};
|
||||||
|
|
||||||
# call me a statistician the way she spreads in my sheets
|
# call me a statistician the way she spreads in my sheets
|
||||||
# matcha = {
|
matcha = {
|
||||||
# system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
# groups = [groups.server];
|
groups = [groups.server];
|
||||||
# deploy.ssh.host = "bedroom.dobutterfliescry.net";
|
deploy = {
|
||||||
# };
|
remoteBuild = true;
|
||||||
|
ssh = {
|
||||||
|
host = "192.168.88.250"; # <- DEBUG: TEMP: TODO: switch to `matcha.dobutterfliescry.net`
|
||||||
|
user = "emile";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue