This commit is contained in:
Weckyy702
2026-01-12 11:23:10 +01:00
parent 6122cba650
commit 0524def0ad
16 changed files with 154 additions and 41 deletions

View File

@@ -2,27 +2,22 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, inputs, hostname, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./../../nixos-modules/devtools.nix
./../../nixos-modules/desktop.nix
./../../nixos-modules/apps.nix
./../../homemanager-modules
];
];
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/nvme0n1";
boot.loader.grub.useOSProber = true;
# Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "keith"; # Define your hostname.
networking.hostName = hostname; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;
@@ -53,7 +48,6 @@
"nix-command"
"flakes"
];
nix.settings.trusted-users = [ "weckyy702" ];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -91,5 +85,4 @@
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.11"; # Did you read the comment?
}