This commit is contained in:
Porta 2026-10-11 03:59:00 +10:00
parent 80c9a447a1
commit 6a0bcda5c3
7 changed files with 59 additions and 5 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
configuration.nix

View file

@ -1,4 +1,31 @@
# Replaced by `nixos-generate-config --root /mnt --force` during installation. # Do not modify this file! It was generated by ‘nixos-generate-config’
# Keep this tracked placeholder so the flake can import the generated file. # 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")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e218bad2-9be1-4927-8627-520e698c424d";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/6E6A-2802";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -59,6 +59,9 @@
nautilus # file manager nautilus # file manager
swayimg # image viewer swayimg # image viewer
zathura # pdf viewer zathura # pdf viewer
vscodium-fhs # vscode editor
opencode-desktop
prismlauncher
]; ];
}; };

View file

@ -0,0 +1,9 @@
{ inputs, ... }:
{
flake.nixosModules.cdevenv =
{ pkgs, user-parts, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
environment.systemPackages = with pkgs; [ libclang neocmakelsp cmake gcc gnumake ];
};
}

View file

@ -33,6 +33,11 @@
# version control # version control
self.nixosModules.git self.nixosModules.git
# C Development Environment
self.nixosModules.cdevenv
self.nixosModules.nixd
]; ];
}; };

View file

@ -0,0 +1,9 @@
{ inputs, ... }:
{
flake.nixosModules.nixd =
{ pkgs, user-parts, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
environment.systemPackages = with pkgs; [ nixd ];
};
}

View file

@ -88,7 +88,7 @@
mode = { mode = {
width = 1920; width = 1920;
height = 1080; height = 1080;
refresh = 179.98; refresh = 179.998;
}; };
position = { position = {
x = 0; x = 0;