aaa
This commit is contained in:
parent
421d94be51
commit
70d1bb98f7
6
nix/etcnixos/flake.lock
generated
6
nix/etcnixos/flake.lock
generated
@ -332,11 +332,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726589318,
|
"lastModified": 1726592507,
|
||||||
"narHash": "sha256-qk/Ot2p4LwzNy8Fv1Wnz0dOf0IszEh9NCCtEHo79sAw=",
|
"narHash": "sha256-QvFwDEBR2EqjMAGCSeo1rCZd5VtLONnZxfYUcoWx7ZI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "839e56fb7b9facb0286f3a23c26f34c95e623731",
|
"rev": "eec332b15da047813dfd28a6971ff6737ca6acd5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -38,17 +38,24 @@
|
|||||||
username = "primary";
|
username = "primary";
|
||||||
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
|
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
|
# pkgs = import nixpkgs {
|
||||||
|
# config.replaceStdenv = { pkgs }: pkgs.clangStdenv;
|
||||||
|
# };
|
||||||
|
pkgs = import nixpkgs { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs username hostname;
|
inherit inputs username hostname;
|
||||||
};
|
};
|
||||||
|
inherit pkgs;
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
./system-${hostname}.nix
|
./system-${hostname}.nix
|
||||||
chaotic.nixosModules.default
|
chaotic.nixosModules.default
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
if ("${hostname}" == "mreow") then # laptop
|
if ("${hostname}" == "mreow") then # laptop
|
||||||
|
|||||||
6
nix/home-manager/flake.lock
generated
6
nix/home-manager/flake.lock
generated
@ -201,11 +201,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726589318,
|
"lastModified": 1726592507,
|
||||||
"narHash": "sha256-qk/Ot2p4LwzNy8Fv1Wnz0dOf0IszEh9NCCtEHo79sAw=",
|
"narHash": "sha256-QvFwDEBR2EqjMAGCSeo1rCZd5VtLONnZxfYUcoWx7ZI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "839e56fb7b9facb0286f3a23c26f34c95e623731",
|
"rev": "eec332b15da047813dfd28a6971ff6737ca6acd5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user