yiack
This commit is contained in:
parent
80c9a447a1
commit
6a0bcda5c3
7 changed files with 59 additions and 5 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
configuration.nix
|
||||
|
|
@ -1,4 +1,31 @@
|
|||
# Replaced by `nixos-generate-config --root /mnt --force` during installation.
|
||||
# Keep this tracked placeholder so the flake can import the generated file.
|
||||
{ ... }:
|
||||
{ }
|
||||
# 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")
|
||||
];
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,6 +59,9 @@
|
|||
nautilus # file manager
|
||||
swayimg # image viewer
|
||||
zathura # pdf viewer
|
||||
vscodium-fhs # vscode editor
|
||||
opencode-desktop
|
||||
prismlauncher
|
||||
];
|
||||
|
||||
};
|
||||
|
|
|
|||
9
modules/features/terminal/cdevenv.nix
Normal file
9
modules/features/terminal/cdevenv.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -33,6 +33,11 @@
|
|||
# version control
|
||||
self.nixosModules.git
|
||||
|
||||
|
||||
# C Development Environment
|
||||
self.nixosModules.cdevenv
|
||||
|
||||
self.nixosModules.nixd
|
||||
];
|
||||
|
||||
};
|
||||
|
|
|
|||
9
modules/features/terminal/nixd.nix
Normal file
9
modules/features/terminal/nixd.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
flake.nixosModules.nixd =
|
||||
{ pkgs, user-parts, ... }:
|
||||
{
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
environment.systemPackages = with pkgs; [ nixd ];
|
||||
};
|
||||
}
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
mode = {
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refresh = 179.98;
|
||||
refresh = 179.998;
|
||||
};
|
||||
position = {
|
||||
x = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue