mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-27 14:10:45 -06:00
Compare commits
3 commits
c740020fa8
...
8f51affe7c
Author | SHA1 | Date | |
---|---|---|---|
8f51affe7c | |||
5d6038a5b3 | |||
04a13ab976 |
10 changed files with 52 additions and 83 deletions
89
flake.lock
89
flake.lock
|
@ -233,11 +233,11 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715342341,
|
||||
"narHash": "sha256-o7KB55Nd2QC7eOThktD8uOeE5JseK1aFUPE8o0/j2ZI=",
|
||||
"lastModified": 1715526061,
|
||||
"narHash": "sha256-cVhbpdH8ln4ybFAG3yJFDTbKYTATok8cEkOM94IM0cU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "38911d6df4977b6b00557cc887eb151d032e505b",
|
||||
"revCount": 4661,
|
||||
"rev": "fd35b35000fa11ce540d944966ff17c71c31fd27",
|
||||
"revCount": 4678,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland"
|
||||
|
@ -361,11 +361,11 @@
|
|||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714910950,
|
||||
"narHash": "sha256-gaq5bphSsY+htEXFDkImOrH3MVCkxFTvCiwdCJj096E=",
|
||||
"lastModified": 1715515815,
|
||||
"narHash": "sha256-yaLScMHNFCH6SbB0HSA/8DWDgK0PyOhCXoFTdHlWkhk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "lib-aggregate",
|
||||
"rev": "26fabca301e1133abd3d9192b1bcb6fb45b30f1d",
|
||||
"rev": "09883ca828e8cfaacdb09e29190a7b84ad1d9925",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -403,11 +403,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715278311,
|
||||
"narHash": "sha256-Z787hdZuwBhQCQOeOmln5j9cCKxDWql7tbF1ukKDFZU=",
|
||||
"lastModified": 1715442723,
|
||||
"narHash": "sha256-pXMH7lqr5bT2FjH/3tEdTT/+1+hKx+15WkcGKycWWSM=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "c8ab1e79ba0140bc75731c75177242089506260b",
|
||||
"revCount": 75,
|
||||
"rev": "87b7b7e4bd936301b139e472589d1966b136f45f",
|
||||
"revCount": 76,
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/lix-project/nixos-module"
|
||||
},
|
||||
|
@ -466,11 +466,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714878592,
|
||||
"narHash": "sha256-E68C03sYRsYFsK7wiGHUIJm8IsyPRALOrFoTL0glXnI=",
|
||||
"lastModified": 1715483403,
|
||||
"narHash": "sha256-WMDuQj7J5jbpXI/X/E6FZRKgBFGcaSTvYyVxPnKE6KU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "a362555e9dbd4ecff3bb98969bbdb8f79fe87f10",
|
||||
"rev": "f9027322f48b427da23746aa359a6510dfcd0228",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -497,11 +497,11 @@
|
|||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1714870069,
|
||||
"lastModified": 1715474941,
|
||||
"narHash": "sha256-CNCqCGOHdxuiVnVkhTpp2WcqSSmSfeQjubhDOcgwGjU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "4b620020fd73bdd5104e32c702e65b60b6869426",
|
||||
"rev": "58e03b95f65dfdca21979a081aa62db0eed6b1d8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -518,11 +518,11 @@
|
|||
"nixpkgs": "nixpkgs_6"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715365274,
|
||||
"narHash": "sha256-aUt+LN/Qo8roTsXQJgop1JJOwRTg/gtjFj49llQSGA4=",
|
||||
"lastModified": 1715538104,
|
||||
"narHash": "sha256-946VdjryiaVe1ePENF/JMl0nTjKJYTkvo8Rr4sBpbZM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs-wayland",
|
||||
"rev": "3c6a8f4c7d1f8cc6d2a6b6ae33f6ec5cda66ba99",
|
||||
"rev": "1ed4e32c216c6c36e350a5de3c7c48ad7ebc2aea",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -565,11 +565,11 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1715220225,
|
||||
"narHash": "sha256-X0xvboLSjfC5s/M1yuPdSdc6yzKV8536hTTWCSKF5Xc=",
|
||||
"lastModified": 1715499532,
|
||||
"narHash": "sha256-9UJLb8rdi2VokYcfOBQHUzP3iNxOPNWcbK++ENElpk0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ac34158a823c7596e0106c806d0b7df47885fa73",
|
||||
"rev": "af8b9db5c00f1a8e4b83578acc578ff7d823b786",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -597,11 +597,11 @@
|
|||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1715266358,
|
||||
"narHash": "sha256-doPgfj+7FFe9rfzWo1siAV2mVCasW+Bh8I1cToAXEE4=",
|
||||
"lastModified": 1715447595,
|
||||
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f1010e0469db743d14519a1efd37e23f8513d714",
|
||||
"rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -611,26 +611,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pinix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709390347,
|
||||
"narHash": "sha256-C7RDQ1xPktZGf8eSDUeZ2ZKetHtM2VJA0C10z0d8tkw=",
|
||||
"owner": "remi-dupre",
|
||||
"repo": "pinix",
|
||||
"rev": "6f7dc0fccb0e48176629d061b07576d092a5d09c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "remi-dupre",
|
||||
"repo": "pinix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"f1multiviewer": "f1multiviewer",
|
||||
|
@ -641,7 +621,6 @@
|
|||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||
"pinix": "pinix",
|
||||
"stable": "stable",
|
||||
"tsm": "tsm",
|
||||
"zig2nix": "zig2nix",
|
||||
|
@ -650,11 +629,11 @@
|
|||
},
|
||||
"stable": {
|
||||
"locked": {
|
||||
"lastModified": 1715218190,
|
||||
"narHash": "sha256-R98WOBHkk8wIi103JUVQF3ei3oui4HvoZcz9tYOAwlk=",
|
||||
"lastModified": 1715395895,
|
||||
"narHash": "sha256-DreMqi6+qa21ffLQqhMQL2XRUkAGt3N7iVB5FhJKie4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9a9960b98418f8c385f52de3b09a63f9c561427a",
|
||||
"rev": "71bae31b7dbc335528ca7e96f479ec93462323ff",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -844,11 +823,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715303741,
|
||||
"narHash": "sha256-Th3zcwyCIQCv2OV8ga1eQ+sEPnMayqf2x45cMU7tedI=",
|
||||
"lastModified": 1715476823,
|
||||
"narHash": "sha256-Fcx4MS1Kzv7gZd3N3GL6hzJSkOjxpctyFzezxbunhlk=",
|
||||
"owner": "Cloudef",
|
||||
"repo": "zig2nix",
|
||||
"rev": "4b9a155fd573d1402730ef6350098b502c2f7f91",
|
||||
"rev": "6dfdf5edbfeee0a93802a81c9fc4c03a4e24f35c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -868,11 +847,11 @@
|
|||
"zig-overlay": "zig-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715175539,
|
||||
"narHash": "sha256-HyhR3wu/hupcCD0k3GDASh6WUJrcr6ShjHQVICeW8sU=",
|
||||
"lastModified": 1715376937,
|
||||
"narHash": "sha256-fXZmddq7ZrEaX0rT4n+46f+qpwMbOdhoY+fCRj70xts=",
|
||||
"owner": "zigtools",
|
||||
"repo": "zls",
|
||||
"rev": "354f83306c1922e2eabe7fdd008c5aa9c72db66d",
|
||||
"rev": "bb19beeb38a8c3df9a2408b8e15664415b8347ef",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
hyprland-contrib.url = "github:hyprwm/contrib";
|
||||
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
||||
|
||||
pinix.url = "github:remi-dupre/pinix";
|
||||
pinix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
bantime = "24h";
|
||||
};
|
||||
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
networking.hostName = "algiz";
|
||||
# # added to make using `pip install` work in docker build
|
||||
# networking.nameservers = [ "8.8.8.8"];
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ self, enabled, ... }:
|
||||
{ enabled, ... }:
|
||||
{
|
||||
imports = with self.nixosModules; [ nix-ld ];
|
||||
|
||||
oizys = {
|
||||
desktop = enabled;
|
||||
nix-ld = enabled;
|
||||
|
|
|
@ -59,10 +59,8 @@
|
|||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
programs.nix-ld = enabled;
|
||||
services.openssh = enabled;
|
||||
|
||||
networking.hostName = "mannaz";
|
||||
# networking.wireless.enable = true;
|
||||
# networking.networkmanager.enable = true;
|
||||
|
||||
|
@ -71,7 +69,6 @@
|
|||
7860
|
||||
];
|
||||
|
||||
time.timeZone = "America/Chicago";
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
# don't delete this you foo bar
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [ pamixer ];
|
||||
|
||||
networking.hostName = "othalan";
|
||||
time.timeZone = "US/Central";
|
||||
|
||||
# catppuccin/tty move to "module"
|
||||
boot.kernelParams = [
|
||||
"vt.default_red=30,243,166,249,137,245,148,186,88,243,166,249,137,245,148,166"
|
||||
|
|
|
@ -29,18 +29,14 @@ rec {
|
|||
nixosModules = listToAttrs (findModulesList ../modules);
|
||||
|
||||
mkSystem =
|
||||
hostname:
|
||||
hostName:
|
||||
nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules =
|
||||
[
|
||||
../modules/oizys.nix
|
||||
../overlays
|
||||
inputs.lix-module.nixosModules.default
|
||||
]
|
||||
++ filter
|
||||
isNixFile
|
||||
(listFilesRecursive (../. + "/hosts/${hostname}"));
|
||||
modules = [
|
||||
../modules/oizys.nix
|
||||
../overlays
|
||||
inputs.lix-module.nixosModules.default
|
||||
] ++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostName}"));
|
||||
|
||||
specialArgs = {
|
||||
inherit
|
||||
|
@ -50,6 +46,7 @@ rec {
|
|||
mkDefaultOizysModule
|
||||
mkOizysModule
|
||||
enabled
|
||||
hostName
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
pkgs.nixd
|
||||
pkgs.nixfmt-rfc-style
|
||||
self.packages.${pkgs.system}.default
|
||||
inputs.pinix.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, self, ... }:
|
||||
{
|
||||
lib,
|
||||
self,
|
||||
hostName,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkEnableOption;
|
||||
in
|
||||
|
@ -35,4 +40,8 @@ in
|
|||
];
|
||||
|
||||
options.oizys.desktop.enable = mkEnableOption "is desktop";
|
||||
config = {
|
||||
networking.hostName = hostName;
|
||||
time.timeZone = "US/Central";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -65,7 +65,6 @@ in
|
|||
number = "2"; # todo: autogenerate based on hostname?
|
||||
name = cfg.name;
|
||||
};
|
||||
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue