no clue really

This commit is contained in:
2025-07-09 11:46:32 -05:00
parent 773eaaf26d
commit ce38e52ee9
21 changed files with 99 additions and 121 deletions

View File

@@ -1,17 +1,19 @@
{ config, lib, pkgs, ... }:
{
pkgs,
...
}:
{
nix.settings = {
experimental-features = "nix-command flakes";
};
imports =
[
./hardware-configuration.nix
./modules
];
programs.hyprland.enable = true;
imports = [
./hardware-configuration.nix
./modules
];
programs.hyprland.enable = true;
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
@@ -27,14 +29,6 @@
pulse.enable = true;
};
users.users.poslop = {
isNormalUser = true;
extraGroups = [ "wheel" ];
packages = with pkgs; [
tree
];
};
environment.systemPackages = with pkgs; [
kitty
vim
@@ -46,4 +40,3 @@
system.stateVersion = "24.11";
}

View File

@@ -1,26 +1,32 @@
# 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, ... }:
{
lib,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/39b3801f-ffcd-421f-966f-46625fb8d4ca";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/39b3801f-ffcd-421f-966f-46625fb8d4ca";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/7043d338-93f0-40a7-9033-6616685e32f3"; }
];
swapDevices = [ { device = "/dev/disk/by-uuid/7043d338-93f0-40a7-9033-6616685e32f3"; } ];
networking.useDHCP = lib.mkDefault true;

View File

@@ -1,22 +1,20 @@
{ config, lib, pkgs, ... }:
{
...
}:
{
imports =
[
./hardware-configuration.nix
../../modules
];
programs.hyprland.enable = true;
imports = [
./hardware-configuration.nix
../../modules
];
programs.hyprland.enable = true;
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
services.spice-vdagentd.enable = true;
services.qemuGuest.enable = true;
system.stateVersion = "24.11";
}

View File

@@ -1,26 +1,32 @@
# 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, ... }:
{
lib,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b8c66f3c-759d-4d4f-9d1a-3f2e04d91e23";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/b8c66f3c-759d-4d4f-9d1a-3f2e04d91e23";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b7d73851-7f85-44fa-b62a-e35deb0ea98a"; }
];
swapDevices = [ { device = "/dev/disk/by-uuid/b7d73851-7f85-44fa-b62a-e35deb0ea98a"; } ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's