feat: finished orpheus and nemesis DINALLY
This commit is contained in:
parent
03c9b32951
commit
45c4e136c4
4 changed files with 34 additions and 3 deletions
16
flake.lock
generated
16
flake.lock
generated
|
@ -809,6 +809,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1741325094,
|
||||
"narHash": "sha256-RUAdT8dZ6k/486vnu3tiNRrNW6+Q8uSD2Mq7gTX4jlo=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "b48cc4dab0f9711af296fc367b6108cf7b8ccb16",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1739020877,
|
||||
|
@ -1065,6 +1080,7 @@
|
|||
"home-manager": "home-manager",
|
||||
"hyprland": "hyprland",
|
||||
"nixd": "nixd",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nixvim": "nixvim",
|
||||
"nvf": "nvf",
|
||||
|
|
17
flake.nix
17
flake.nix
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
description = "NixOS setup for one host with home-manager";
|
||||
description = "flake forward setup with two hosts on different architectures";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
|
@ -14,7 +14,6 @@
|
|||
modules = [
|
||||
./systems/${hostname}.nix
|
||||
|
||||
# Add the home-manager user
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
|
@ -39,7 +38,20 @@
|
|||
value = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = args;
|
||||
modules = [
|
||||
inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
||||
"${nixpkgs}/nixos/modules/profiles/minimal.nix"
|
||||
./systems/orpheus.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = args;
|
||||
users.rafiq.imports = [
|
||||
./users/rafiq.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -48,6 +60,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
nix.settings.trusted-users = ["root" "@wheel"];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hw-orpheus.nix
|
||||
./modules/common.nix
|
||||
];
|
||||
|
||||
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue