Compare commits

...

3 Commits

Author SHA1 Message Date
c41249877b Add README.md 2025-12-30 11:32:27 +00:00
mtgmonkey
1a0c214707 fin 2025-12-28 21:14:06 +01:00
mtgmonkey
2b0ff45e1a experiment with rgit, update to unstable 2025-12-18 16:03:12 +01:00
6 changed files with 47 additions and 142 deletions

5
README.md Normal file
View File

@@ -0,0 +1,5 @@
# DEPRECATED
### This repo is *DEPRECATED*
### Please use [conf](https://git.mtgmonkey.net/Andromeda/conf) instead

View File

@@ -8,21 +8,15 @@
./cachix.nix
];
boot.kernelPackages = pkgs.linuxKernel.packages.linux_hardened;
security.allowUserNamespaces = true;
services.logrotate.checkConfig = false; # per https://discourse.nixos.org/t/logrotate-config-fails-due-to-missing-group-30000/28501/9
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_hardened;
# security.allowUserNamespaces = true;
# services.logrotate.checkConfig = false; # per https://discourse.nixos.org/t/logrotate-config-fails-due-to-missing-group-30000/28501/9
boot.loader = {
limine = {
enable = true;
efiSupport = true;
};
grub = {
enable = false;
devices = ["nodev"];
useOSProber = true;
efiSupport = true;
};
efi.canTouchEfiVariables = true;
timeout = lib.mkDefault 2;
};
@@ -76,6 +70,7 @@
isNormalUser = true;
description = "mtgmonkey";
extraGroups = ["networkmanager" "wheel"];
packages = [pkgs.sl];
};
users.users.test = {

136
flake.lock generated
View File

@@ -1,110 +1,22 @@
{
"nodes": {
"niri-flake": {
"inputs": {
"niri-stable": "niri-stable",
"niri-unstable": "niri-unstable",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"xwayland-satellite-stable": "xwayland-satellite-stable",
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1763126448,
"narHash": "sha256-LVYJJObvkWwR8QB/Srr6Rks+Fw2lYvnRNOH0etV9DM8=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "add7bcf2925547e180cc2fe6d5f4b5e7c579d086",
"type": "github"
},
"original": {
"owner": "sodiboo",
"repo": "niri-flake",
"type": "github"
}
},
"niri-stable": {
"flake": false,
"locked": {
"lastModified": 1756556321,
"narHash": "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "01be0e65f4eb91a9cd624ac0b76aaeab765c7294",
"type": "github"
},
"original": {
"owner": "YaLTeR",
"ref": "v25.08",
"repo": "niri",
"type": "github"
}
},
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1763014447,
"narHash": "sha256-nmu7S8J9IJKLQyIkSU8QWYHygrfw76NHGTkcr+bXMX0=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "a52df533c4694b5ed0a04140af60fd26146df911",
"type": "github"
},
"original": {
"owner": "YaLTeR",
"repo": "niri",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1762977756,
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
"owner": "NixOS",
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"type": "github"
},
"original": {
"owner": "NixOS",
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1763049705,
"narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3acb677ea67d4c6218f33de0db0955f116b7588c",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1763049705,
"narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3acb677ea67d4c6218f33de0db0955f116b7588c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1714253743,
"narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=",
@@ -122,7 +34,7 @@
},
"noshell": {
"inputs": {
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1717396029,
@@ -140,43 +52,9 @@
},
"root": {
"inputs": {
"niri-flake": "niri-flake",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs",
"noshell": "noshell"
}
},
"xwayland-satellite-stable": {
"flake": false,
"locked": {
"lastModified": 1755491097,
"narHash": "sha256-m+9tUfsmBeF2Gn4HWa6vSITZ4Gz1eA1F5Kh62B0N4oE=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "388d291e82ffbc73be18169d39470f340707edaa",
"type": "github"
},
"original": {
"owner": "Supreeeme",
"ref": "v0.7",
"repo": "xwayland-satellite",
"type": "github"
}
},
"xwayland-satellite-unstable": {
"flake": false,
"locked": {
"lastModified": 1762747449,
"narHash": "sha256-Z1TKiux8K09a93w4PFDFsj8HFugXNy3iCC3Z8MpR5Rk=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "6338574bc5c036487486acde264f38f39ea15fad",
"type": "github"
},
"original": {
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"type": "github"
}
}
},
"root": "root",

View File

@@ -1,15 +1,17 @@
{
description = "Home Manager configuration of test";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
noshell.url = "github:viperML/noshell";
niri-flake.url = "github:sodiboo/niri-flake";
# niri-flake.url = "github:sodiboo/niri-flake";
# rgit.url = "github:w4/rgit";
};
outputs = {
nixpkgs,
noshell,
niri-flake,
# niri-flake,
# rgit,
...
}: let
system = "x86_64-linux";
@@ -17,10 +19,13 @@
nixosConfigurations."nixos" = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
niri-flake.nixosModules.niri
# niri-flake.nixosModules.niri
noshell.nixosModules.default
{programs.noshell.enable = true;}
./configuration.nix
# rgit.nixosModules.${system}.default
# ./rgit.nix
./iocaine.nix
];
};
};

14
iocaine.nix Normal file
View File

@@ -0,0 +1,14 @@
{pkgs, ...}: {
systemd.services.iocaine = {
serviceConfig = {
Type = "simple";
ExecStart = "";
RemainAfterExit = true;
};
wantedBy = ["multi-user.target"];
};
environment.etc."iocaine.lua" = {
text = "";
mode = "664";
};
}

8
rgit.nix Normal file
View File

@@ -0,0 +1,8 @@
{...}: {
services.rgit = {
enable = true;
bindAddress = "[::]:3333";
dbStorePath = "/var/rgit/rgit.db";
repositoryStorePath = "/var/rgit/repos/";
};
}