welcome nine!

This commit is contained in:
shibazaki 2025-01-21 16:07:05 +01:00
parent 843dda9e27
commit 8f61d3d11f
3 changed files with 73 additions and 4 deletions

View File

@ -21,7 +21,12 @@
};
};
outputs = { self, nixpkgs, home-manager, ... } @ inputs: let
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
@ -30,8 +35,7 @@
allowUnfree = true;
};
};
in
{
in {
nixosConfigurations = {
shibazaki = nixpkgs.lib.nixosSystem {
system = system;
@ -59,7 +63,19 @@
inputs.stylix.nixosModules.stylix
];
};
nine = nixpkgs.lib.nixosSystem {
system = system;
specialArgs = {
inherit inputs pkgs;
userSettings = {
username = "nine";
};
};
modules = [
./users/nine/configuration.nix
inputs.stylix.nixosModules.stylix
];
};
};
};
}

View File

@ -0,0 +1,28 @@
{
inputs,
pkgs,
lib,
...
}: {
imports = [
./hardware-configuration.nix
./../../nixos/system/home-manager.nix
./../../nixos/system/user-configuration.nix
./../../nixos/system/desktop-environment.nix
./../../nixos/system/audio.nix
./../../nixos/system/fonts.nix
./../../nixos/system/input-devices.nix
./../../nixos/system/networking.nix
./../../nixos/system/bluetooth.nix
./../../nixos/system/display-manager.nix
./../../nixos/system/security-and-privacy.nix
./../../nixos/system/stylix.nix
./../../nixos/system/system-settings.nix
./../../nixos/system/neovim.nix
./../../nixos/system/libgcc.nix
];
# Global configuration
nix.settings.experimental-features = ["nix-command" "flakes"];
system.stateVersion = "24.11"; # Did you read the comment?
}

25
users/nine/home.nix Normal file
View File

@ -0,0 +1,25 @@
{
pkgs,
lib,
...
}: {
home.username = "nine";
home.homeDirectory = "/home/nine";
imports = [
./../../nixos/home/imports/hyprland.nix
./../../nixos/home/imports/starship.nix
./../../nixos/home/modules/shell.nix
./../../nixos/home/modules/git.nix
./../../nixos/home/modules/editors.nix
./../../nixos/home/modules/terminal.nix
./../../nixos/home/modules/media.nix
./../../nixos/home/modules/development.nix
./../../nixos/home/modules/games.nix
./../../nixos/home/modules/utilities.nix
./../../nixos/home/modules/environment.nix
./../../nixos/home/modules/session-variables.nix
];
home.stateVersion = "24.11"; # Please read the comment before changing.
}