Added more stuff to chibi configuration
This commit is contained in:
parent
e1b01c1d31
commit
e394299175
5 changed files with 43 additions and 6 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -1168,6 +1168,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1726905744,
|
||||
"narHash": "sha256-xyNtG5C+xvfsnOVEamFe9zCCnuNwk93K/TlFC/4DmCI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "b493dfd4a8cf9552932179e56ff3b5819a9b8381",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1717196966,
|
||||
|
|
@ -1542,6 +1558,7 @@
|
|||
"impermanence": "impermanence",
|
||||
"neovim-config": "neovim-config",
|
||||
"nixos-config": "nixos-config",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_5",
|
||||
"nixvim-config": "nixvim-config",
|
||||
"sops-nix": "sops-nix",
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
neovim-config = {
|
||||
url = "github:C4theBomb/neovim";
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@ let
|
|||
../.
|
||||
./arisu
|
||||
];
|
||||
"c4patino@chibi" = [
|
||||
../.
|
||||
./chibi
|
||||
];
|
||||
"c4patino@kokoro" = [
|
||||
../.
|
||||
./kokoro
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{ pkgs, inputs, modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
../..
|
||||
|
||||
inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
||||
../hardware-configuration.nix
|
||||
"${modulesPath}/installer/sd-card/sd-image-raspberrypi-installer.nix"
|
||||
|
||||
inputs.disko.nixosModules.default
|
||||
(import ./disko.nix { device = ""; })
|
||||
inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "chibi";
|
||||
|
|
@ -21,7 +20,6 @@
|
|||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
audio.enable = true;
|
||||
network-manager.enable = true;
|
||||
|
||||
docker.enable = true;
|
||||
|
|
|
|||
|
|
@ -31,5 +31,22 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
chibi = nixosSystem {
|
||||
inherit specialArgs;
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./chibi
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = specialArgs;
|
||||
users.nixos = {
|
||||
imports = homeImports."c4patino@chibi";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue