oxocarbon
This commit is contained in:
@ -8,6 +8,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/nix/firefox.nix
|
./modules/nix/firefox.nix
|
||||||
|
./modules/nix/gaming.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@ -120,7 +121,7 @@
|
|||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
feh
|
feh
|
||||||
chromium
|
gnumake
|
||||||
|
|
||||||
# cli
|
# cli
|
||||||
neofetch
|
neofetch
|
||||||
@ -143,6 +144,8 @@
|
|||||||
# misc
|
# misc
|
||||||
cava
|
cava
|
||||||
discord
|
discord
|
||||||
|
|
||||||
|
python3Packages.adblock
|
||||||
];
|
];
|
||||||
security = {
|
security = {
|
||||||
doas = {
|
doas = {
|
||||||
|
@ -8,18 +8,18 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/d15649f6-6928-4527-bb66-1e1c3c8bcd76";
|
{ device = "/dev/disk/by-uuid/270c565f-b130-4f83-831e-c56b36b2ec83";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/A38C-F2A8";
|
{ device = "/dev/disk/by-uuid/C7A8-3E74";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
@ -31,10 +31,9 @@
|
|||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wwp0s20f0u3i12.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
font = {
|
font = {
|
||||||
size = 10;
|
size = 15;
|
||||||
normal = {
|
normal = {
|
||||||
family = "FantasqueSansMNerdFont";
|
family = "FantasqueSansMNerdFont";
|
||||||
};
|
};
|
||||||
|
12
modules/nix/gaming.nix
Normal file
12
modules/nix/gaming.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
programs = {
|
||||||
|
steam = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -8,6 +8,56 @@
|
|||||||
cursor_shape beam
|
cursor_shape beam
|
||||||
close_window true
|
close_window true
|
||||||
confirm_os_window_close 0
|
confirm_os_window_close 0
|
||||||
|
font_family FantasqueSansMNerdFont
|
||||||
|
foreground #dde1e6
|
||||||
|
background #161616
|
||||||
|
selection_foreground #f2f4f8
|
||||||
|
selection_background #525252
|
||||||
|
|
||||||
|
cursor #f2f4f8
|
||||||
|
cursor_text_color #393939
|
||||||
|
|
||||||
|
url_color #ee5396
|
||||||
|
url_style single
|
||||||
|
|
||||||
|
active_border_color #ee5396
|
||||||
|
inactive_border_color #ff7eb6
|
||||||
|
|
||||||
|
bell_border_color #ee5396
|
||||||
|
|
||||||
|
wayland_titlebar_color system
|
||||||
|
macos_titlebar_color system
|
||||||
|
|
||||||
|
active_tab_foreground #161616
|
||||||
|
active_tab_background #ee5396
|
||||||
|
inactive_tab_foreground #dde1e6
|
||||||
|
inactive_tab_background #393939
|
||||||
|
tab_bar_background #161616
|
||||||
|
|
||||||
|
color0 #262626
|
||||||
|
color8 #393939
|
||||||
|
|
||||||
|
color1 #ff7eb6
|
||||||
|
color9 #ff7eb6
|
||||||
|
|
||||||
|
color2 #42be65
|
||||||
|
color10 #42be65
|
||||||
|
|
||||||
|
color3 #82cfff
|
||||||
|
color11 #82cfff
|
||||||
|
|
||||||
|
color4 #33b1ff
|
||||||
|
color12 #33b1ff
|
||||||
|
|
||||||
|
color5 #ee5396
|
||||||
|
color13 #ee5396
|
||||||
|
|
||||||
|
color6 #3ddbd9
|
||||||
|
color14 #3ddbd9
|
||||||
|
|
||||||
|
color7 #dde1e6
|
||||||
|
color15 #ffffff
|
||||||
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -31,8 +31,7 @@ in
|
|||||||
completeopt = "menu,menuone,noinsert,noselect";
|
completeopt = "menu,menuone,noinsert,noselect";
|
||||||
keyword_length = 1;
|
keyword_length = 1;
|
||||||
};
|
};
|
||||||
sorting =
|
sorting = {
|
||||||
{
|
|
||||||
};
|
};
|
||||||
mapping = {
|
mapping = {
|
||||||
"<Down>".__raw = ''
|
"<Down>".__raw = ''
|
||||||
@ -45,7 +44,7 @@ in
|
|||||||
end, { "i", "s" })
|
end, { "i", "s" })
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"<S-Tab>".__raw = ''
|
"<Up>".__raw = ''
|
||||||
cmp.mapping(function(fallback)
|
cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_prev_item()
|
cmp.select_prev_item()
|
||||||
@ -54,7 +53,7 @@ in
|
|||||||
end
|
end
|
||||||
end, { "i", "s" })
|
end, { "i", "s" })
|
||||||
'';
|
'';
|
||||||
"<C-n>" = "cmp.mapping.scroll_docs(-4)";
|
"<C-Down>" = "cmp.mapping.scroll_docs(-4)";
|
||||||
"<c-Up>" = "cmp.mapping.scroll_docs(4)";
|
"<c-Up>" = "cmp.mapping.scroll_docs(4)";
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
"<C-e>" = "cmp.mapping.abort()";
|
"<C-e>" = "cmp.mapping.abort()";
|
||||||
|
@ -19,5 +19,8 @@
|
|||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
colorschemes.oxocarbon.enable = true;
|
colorschemes.oxocarbon.enable = true;
|
||||||
|
plugins = {
|
||||||
|
neocord.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user