Compare commits

..

No commits in common. "cc66e0c2c5082e03d98f4c11b00e7b2bf831c968" and "858e6e54e8cc2ac77b01861cd3ec7884ff723278" have entirely different histories.

13 changed files with 83 additions and 87 deletions

View File

@ -23,7 +23,7 @@
unzip unzip
# IDE # IDE
(jetbrains.plugins.addPlugins jetbrains.idea-ultimate ["github-copilot"]) jetbrains.idea-ultimate
jetbrains.rider jetbrains.rider
# nix language server # nix language server

View File

@ -19,5 +19,6 @@
fastfetch fastfetch
lmstudio lmstudio
]; ];
} }

View File

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, ... }: {
programs.steam = { programs.steam = {
enable = true; enable = true;
}; };

View File

@ -7,11 +7,11 @@
# Enable OpenGL # Enable OpenGL
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
# extraPackages = with pkgs; [ # extraPackages = with pkgs; [
# intel-media-sdk # intel-media-sdk
# intel-ocl # intel-ocl
# intel-compute-runtime # intel-compute-runtime
# ]; # ];
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@ -1,37 +1,33 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
config, imports =
lib, [ (modulesPath + "/installer/scan/not-detected.nix")
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = [ ];
boot.kernelModules = ["kvm-intel"]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = []; boot.extraModulePackages = [ ];
fileSystems."/" = { fileSystems."/" =
device = "/dev/disk/by-uuid/937e3ce3-554d-4249-b1b0-1d4c0dcf568c"; { device = "/dev/disk/by-uuid/937e3ce3-554d-4249-b1b0-1d4c0dcf568c";
fsType = "ext4"; fsType = "ext4";
}; };
boot.initrd.luks.devices."luks-1335075f-fce0-4057-964d-b30cca308aef".device = "/dev/disk/by-uuid/1335075f-fce0-4057-964d-b30cca308aef"; boot.initrd.luks.devices."luks-1335075f-fce0-4057-964d-b30cca308aef".device = "/dev/disk/by-uuid/1335075f-fce0-4057-964d-b30cca308aef";
fileSystems."/boot" = { fileSystems."/boot" =
device = "/dev/disk/by-uuid/0C95-0FAD"; { device = "/dev/disk/by-uuid/0C95-0FAD";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0077" "dmask=0077"]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = [ swapDevices =
{device = "/dev/disk/by-uuid/23c2d8c2-21f7-4c92-be68-23eb2f689e30";} [ { device = "/dev/disk/by-uuid/23c2d8c2-21f7-4c92-be68-23eb2f689e30"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@ -15,4 +15,5 @@
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
} }

View File

@ -1,4 +1,5 @@
{pkgs, ...}: { { pkgs, ... }:
{
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono nerd-fonts.jetbrains-mono
nerd-fonts.caskaydia-cove nerd-fonts.caskaydia-cove

View File

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, ... }: {
services.printing = { services.printing = {
enable = true; enable = true;
drivers = [pkgs.hplip pkgs.hplipWithPlugin]; drivers = [pkgs.hplip pkgs.hplipWithPlugin];

View File

@ -2,6 +2,6 @@
users.users.uzair = { users.users.uzair = {
isNormalUser = true; isNormalUser = true;
description = "Uzair Mohammed"; description = "Uzair Mohammed";
extraGroups = ["networkmanager" "wheel" "docker"]; extraGroups = ["networkmanager" "wheel" "docker" ];
}; };
} }

View File

@ -1,8 +1,5 @@
{ {pkgs, inputs, ...}: {
pkgs,
inputs,
...
}: {
# Nix flake Cachix stuff # Nix flake Cachix stuff
nix.settings = { nix.settings = {
substituters = ["https://hyprland.cachix.org"]; substituters = ["https://hyprland.cachix.org"];