mirror of
https://github.com/blahai/nyx.git
synced 2025-06-07 17:03:01 -04:00
lot of stuffies
This commit is contained in:
parent
6b3811a888
commit
a56e3c8aa4
6 changed files with 47 additions and 46 deletions
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
pkgs-smol,
|
||||
lib,
|
||||
modulesPath,
|
||||
config,
|
||||
|
@ -9,12 +8,7 @@
|
|||
imports = ["${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"];
|
||||
|
||||
boot = {
|
||||
supportedFilesystems = ["zfs"];
|
||||
zfs = {
|
||||
forceImportRoot = false;
|
||||
package = pkgs-smol.zfs;
|
||||
};
|
||||
kernelPackages = pkgs-smol.linuxPackages_6_12;
|
||||
kernelPackages = pkgs.linuxPackages_6_12;
|
||||
kernelParams = lib.mkAfter ["noquiet" "toram"];
|
||||
enableContainers = false;
|
||||
};
|
||||
|
@ -26,21 +20,13 @@
|
|||
neovim
|
||||
parted
|
||||
git
|
||||
nixd
|
||||
pciutils
|
||||
|
||||
# The installers
|
||||
arch-install-scripts # For arch and it's
|
||||
xbps # Void linux
|
||||
dnf5 # Fedora
|
||||
debootstrap # Debin and ubuntu
|
||||
apt # Ubuntu
|
||||
];
|
||||
|
||||
documentation = {
|
||||
enable = lib.mkDefault false;
|
||||
doc.enable = lib.mkDefault false;
|
||||
info.enable = lib.mkDefault false;
|
||||
enable = lib.mkForce false;
|
||||
doc.enable = lib.mkForce false;
|
||||
info.enable = lib.mkForce false;
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
@ -51,6 +37,20 @@
|
|||
services = {
|
||||
logrotate.enable = false;
|
||||
udisks2.enable = false;
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users = {
|
||||
root = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPbmiNqoyeKXk/VopFm2cFfEnV4cKCFBhbhyYB69Fuu"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
@ -78,7 +78,6 @@
|
|||
"nix-command"
|
||||
"flakes"
|
||||
"auto-allocate-uids"
|
||||
"pipe-operator"
|
||||
"recursive-nix"
|
||||
"ca-derivations"
|
||||
"dynamic-derivations"
|
||||
|
@ -94,15 +93,11 @@
|
|||
"https://nix-community.cachix.org"
|
||||
"https://nixpkgs-unfree.cachix.org"
|
||||
"https://hyprland.cachix.org/"
|
||||
"https://anyrun.cachix.org"
|
||||
"https://wezterm.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
||||
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -99,7 +99,13 @@
|
|||
pingu = {
|
||||
isNormalUser = true;
|
||||
description = "Elissa";
|
||||
extraGroups = ["networkmanager" "wheel" "input" "render"];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"input"
|
||||
"render"
|
||||
"jellyfin"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
packages = with pkgs; [
|
||||
floorp
|
||||
|
@ -183,7 +189,6 @@
|
|||
"nix-command"
|
||||
"flakes"
|
||||
"auto-allocate-uids"
|
||||
"pipe-operator"
|
||||
"recursive-nix"
|
||||
"ca-derivations"
|
||||
"dynamic-derivations"
|
||||
|
@ -193,7 +198,9 @@
|
|||
sandbox = true;
|
||||
auto-optimise-store = true;
|
||||
keep-going = true;
|
||||
fallback = true;
|
||||
warn-dirty = false;
|
||||
allow-import-from-derivation = true;
|
||||
use-xdg-base-directories = true;
|
||||
allowed-users = ["@wheel" "pingu" "root"];
|
||||
trusted-users = ["@wheel" "pingu" "root"];
|
||||
|
@ -202,16 +209,12 @@
|
|||
"https://nixpkgs-unfree.cachix.org"
|
||||
"https://haipkgs.cachix.org"
|
||||
"https://hyprland.cachix.org"
|
||||
"https://anyrun.cachix.org"
|
||||
"https://wezterm.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
|
||||
"haipkgs.cachix.org-1:AcjMqIafTEQ7dw99RpeTJU2ywNUn1h8yIxz2+zjpK/A="
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
||||
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -233,7 +236,6 @@
|
|||
];
|
||||
|
||||
systemPackages = with pkgs; [
|
||||
toybox
|
||||
nautilus
|
||||
nautilus-python
|
||||
diff-so-fancy
|
||||
|
@ -273,17 +275,13 @@
|
|||
go
|
||||
lua
|
||||
lua-language-server
|
||||
nil
|
||||
nixd
|
||||
nix-output-monitor
|
||||
alejandra
|
||||
comma
|
||||
zip
|
||||
nodejs
|
||||
typescript
|
||||
busybox
|
||||
rustup
|
||||
vscode-fhs
|
||||
bibata-cursors
|
||||
spotify
|
||||
jq
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
signing = {
|
||||
signByDefault = true;
|
||||
key = "/home/pingu/.ssh/id_ed25519";
|
||||
format = "ssh";
|
||||
};
|
||||
extraConfig = {
|
||||
core = {
|
||||
|
@ -31,7 +32,6 @@
|
|||
url = {
|
||||
"ssh://git@github.com/" = {insteadOf = "https://github.com/";};
|
||||
};
|
||||
gpg = {format = "ssh";};
|
||||
init = {defaultBranch = "main";};
|
||||
format = {
|
||||
signOff = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue