feat: include karasumaru in flake

format
This commit is contained in:
s-prechtl 2025-03-31 14:02:15 +02:00
parent 46baaa4ecc
commit 93942581c6
3 changed files with 38 additions and 29 deletions

View file

@ -39,5 +39,11 @@
./hosts/saberofxebec/configuration.nix
];
};
nixosConfigurations.karasumaru = nixpkgs-stable.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/karasumaru/configuration.nix
];
};
};
}

View file

@ -1,12 +1,14 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
config,
lib,
pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
@ -19,7 +21,6 @@
time.timeZone = "Europe/Vienna";
environment.systemPackages = with pkgs; [
vim
wget
@ -35,6 +36,4 @@
};
system.stateVersion = "24.11";
}

View file

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [];
@ -13,13 +17,13 @@
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
fileSystems."/mnt" =
{ device = "/dev/disk/by-uuid/2178-694E";
fileSystems."/mnt" = {
device = "/dev/disk/by-uuid/2178-694E";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};