Added more stuff to chibi configuration

This commit is contained in:
Ceferino Patino 2024-09-21 20:56:26 -05:00
commit e394299175
Signed by: c4patino
SSH key fingerprint: SHA256:9fQ9TsujGrdNNi76mnsu63v7dS5JOmHRZEqBOl49OR8
5 changed files with 43 additions and 6 deletions

17
flake.lock generated
View file

@ -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",

View file

@ -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";

View file

@ -7,6 +7,10 @@ let
../.
./arisu
];
"c4patino@chibi" = [
../.
./chibi
];
"c4patino@kokoro" = [
../.
./kokoro

View file

@ -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;

View file

@ -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";
};
};
}
];
};
};
}