Compare commits
No commits in common. "cc66e0c2c5082e03d98f4c11b00e7b2bf831c968" and "858e6e54e8cc2ac77b01861cd3ec7884ff723278" have entirely different histories.
cc66e0c2c5
...
858e6e54e8
@ -74,9 +74,9 @@
|
|||||||
modules = [
|
modules = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.backupFileExtension = "backup";
|
home-manager.backupFileExtension = "backup";
|
||||||
@ -85,7 +85,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hosts/precision-5530/home/home.nix
|
./hosts/precision-5530/home/home.nix
|
||||||
nixvim.homeManagerModules.nixvim
|
nixvim.homeManagerModules.nixvim
|
||||||
walker.homeManagerModules.default
|
walker.homeManagerModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -19,5 +19,6 @@
|
|||||||
fastfetch
|
fastfetch
|
||||||
|
|
||||||
lmstudio
|
lmstudio
|
||||||
];
|
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,29 +10,29 @@
|
|||||||
# Enable Grub and set required parameters to make system bootable
|
# Enable Grub and set required parameters to make system bootable
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = false;
|
enable = false;
|
||||||
# efiSupport = true;
|
# efiSupport = true;
|
||||||
# device = "nodev";
|
# device = "nodev";
|
||||||
#
|
#
|
||||||
# # This does not work for some reason
|
# # This does not work for some reason
|
||||||
# gfxmodeEfi = "1920x1080";
|
# gfxmodeEfi = "1920x1080";
|
||||||
# gfxmodeBios = "1920x1080";
|
# gfxmodeBios = "1920x1080";
|
||||||
#
|
#
|
||||||
# # Enable the Minecraft world selection screen theme
|
# # Enable the Minecraft world selection screen theme
|
||||||
# minegrub-world-sel = {
|
# minegrub-world-sel = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# customIcons = [
|
# customIcons = [
|
||||||
# {
|
# {
|
||||||
# name = "nixos";
|
# name = "nixos";
|
||||||
# lineTop = "NixOS Vicuna (24/11/2024, 1:23)";
|
# lineTop = "NixOS Vicuna (24/11/2024, 1:23)";
|
||||||
# lineBottom = "Survival Mode, No Cheats, Version: 24.11";
|
# lineBottom = "Survival Mode, No Cheats, Version: 24.11";
|
||||||
# # Icon: you can use an icon from the remote repo, or load from a local file
|
# # Icon: you can use an icon from the remote repo, or load from a local file
|
||||||
# imgName = "nixLogo";
|
# imgName = "nixLogo";
|
||||||
# customImg = builtins.path {
|
# customImg = builtins.path {
|
||||||
# path = ./nixLogo.png;
|
# path = ./nixLogo.png;
|
||||||
# name = "nixLogo";
|
# name = "nixLogo";
|
||||||
# };
|
# };
|
||||||
# }
|
# }
|
||||||
# ];
|
# ];
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ... }: {
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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; [
|
||||||
|
|||||||
@ -1,38 +1,34 @@
|
|||||||
# 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
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@ -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?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
{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
|
||||||
nerd-fonts._3270
|
nerd-fonts._3270
|
||||||
nerd-fonts.departure-mono
|
nerd-fonts.departure-mono
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ... }: {
|
||||||
services.printing = {
|
services.printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = [pkgs.hplip pkgs.hplipWithPlugin];
|
drivers = [pkgs.hplip pkgs.hplipWithPlugin];
|
||||||
|
|||||||
@ -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" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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"];
|
||||||
|
|||||||
@ -2,8 +2,8 @@
|
|||||||
networking.hostName = "precision-5530"; # Define your hostname.
|
networking.hostName = "precision-5530"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user