1773677607
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
# Import Modules
|
|
||||||
./modules/boot.nix
|
./modules/boot.nix
|
||||||
./modules/networking.nix
|
./modules/networking.nix
|
||||||
./modules/locale.nix
|
./modules/locale.nix
|
||||||
|
|||||||
+31
-17
@@ -1,32 +1,46 @@
|
|||||||
# 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,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
|
boot.initrd.availableKernelModules = [
|
||||||
|
"nvme"
|
||||||
|
"xhci_pci"
|
||||||
|
"ahci"
|
||||||
|
"usbhid"
|
||||||
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/1d9c0c94-23d1-4acf-8e68-39cec48dc75a";
|
device = "/dev/disk/by-uuid/1d9c0c94-23d1-4acf-8e68-39cec48dc75a";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/AE5D-3C23";
|
device = "/dev/disk/by-uuid/AE5D-3C23";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [
|
||||||
};
|
"fmask=0077"
|
||||||
|
"dmask=0077"
|
||||||
swapDevices =
|
|
||||||
[ { device = "/dev/disk/by-uuid/59acaf1c-702d-4547-a118-d8b5b16009a8"; }
|
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{ device = "/dev/disk/by-uuid/59acaf1c-702d-4547-a118-d8b5b16009a8"; }
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
"Bing"
|
"Bing"
|
||||||
"Perplexity"
|
"Perplexity"
|
||||||
"Wikipedia (en)"
|
"Wikipedia (en)"
|
||||||
|
"DuckDuckGo"
|
||||||
];
|
];
|
||||||
Add = [
|
Add = [
|
||||||
{
|
{
|
||||||
@@ -59,15 +60,6 @@
|
|||||||
Alias = "searx";
|
Alias = "searx";
|
||||||
Description = "Searx (search.atri.dad)";
|
Description = "Searx (search.atri.dad)";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
Name = "DuckDuckGo";
|
|
||||||
URLTemplate = "https://duckduckgo.com/?q={searchTerms}";
|
|
||||||
SuggestURLTemplate = "https://duckduckgo.com/ac/?q={searchTerms}&type=list";
|
|
||||||
Method = "GET";
|
|
||||||
IconURL = "https://duckduckgo.com/favicon.ico";
|
|
||||||
Alias = "ddg";
|
|
||||||
Description = "DuckDuckGo";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -19,14 +19,15 @@
|
|||||||
nerd-fonts.iosevka
|
nerd-fonts.iosevka
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
|
|
||||||
# CLI
|
# CLI/TUI
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
tea
|
tea
|
||||||
|
subtui
|
||||||
|
helix
|
||||||
|
|
||||||
# Desktop applications
|
# Desktop applications
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
vlc
|
vlc
|
||||||
streamrip
|
|
||||||
zotero
|
zotero
|
||||||
lrcget
|
lrcget
|
||||||
impression
|
impression
|
||||||
@@ -38,10 +39,7 @@
|
|||||||
signal-desktop
|
signal-desktop
|
||||||
unstable.fastmail-desktop
|
unstable.fastmail-desktop
|
||||||
supersonic
|
supersonic
|
||||||
subtui
|
|
||||||
mpv
|
mpv
|
||||||
nicotine-plus
|
nicotine-plus
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.obs-studio.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,12 +12,12 @@
|
|||||||
extraOptions.UserKnownHostsFile = "/dev/null";
|
extraOptions.UserKnownHostsFile = "/dev/null";
|
||||||
};
|
};
|
||||||
"tux" = {
|
"tux" = {
|
||||||
hostname = "tuxworld.usask.ca";
|
hostname = "tux8.usask.ca";
|
||||||
user = "atl175";
|
user = "atl175";
|
||||||
};
|
};
|
||||||
"haschel" = {
|
"haschel" = {
|
||||||
hostname = "haschel";
|
hostname = "haschel";
|
||||||
user = "fedora";
|
user = "root";
|
||||||
};
|
};
|
||||||
"lloyd" = {
|
"lloyd" = {
|
||||||
hostname = "lloyd";
|
hostname = "lloyd";
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable unfree globally
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Enable zsh globally
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
@@ -14,7 +11,6 @@
|
|||||||
qmk-udev-rules
|
qmk-udev-rules
|
||||||
];
|
];
|
||||||
|
|
||||||
# Programs with extra configuration
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
@@ -26,4 +22,6 @@
|
|||||||
programs.java.enable = true;
|
programs.java.enable = true;
|
||||||
|
|
||||||
programs.gamemode.enable = true;
|
programs.gamemode.enable = true;
|
||||||
|
|
||||||
|
programs.obs-studio.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,6 +54,4 @@
|
|||||||
|
|
||||||
services.avahi.publish.enable = true;
|
services.avahi.publish.enable = true;
|
||||||
services.avahi.publish.userServices = true;
|
services.avahi.publish.userServices = true;
|
||||||
|
|
||||||
services.system76-scheduler.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user