mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
made system boot faster,
changed shxkd config changed starship config
This commit is contained in:
parent
0a10e29581
commit
48179c0221
7 changed files with 25 additions and 13 deletions
|
|
@ -88,7 +88,7 @@
|
|||
inputs
|
||||
);
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
auto-optimise-store = true;
|
||||
warn-dirty = false;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
if ! pidof sxhkd > /dev/null;then
|
||||
sxhkd &
|
||||
fi
|
||||
|
||||
|
|
@ -30,10 +30,6 @@
|
|||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
".dwm" = {
|
||||
source = ./dwm;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@
|
|||
windowManager.dwm.enable = true;
|
||||
displayManager = {
|
||||
defaultSession = "none+dwm";
|
||||
sessionCommands = ''
|
||||
if ! pidof sxhkd > /dev/null;then
|
||||
sxhkd &
|
||||
fi
|
||||
'';
|
||||
lightdm = {
|
||||
enable = true;
|
||||
greeters.mini = {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
format = "$sudo \n $directory$git_branch$character";
|
||||
format = "$sudo$cmd_duration \n $directory$git_branch$character";
|
||||
character = {
|
||||
success_symbol = "[ ](#9ece6a bold)";
|
||||
error_symbol = "[ ](#db4b4b bold)";
|
||||
|
|
@ -32,6 +32,10 @@
|
|||
format = "[ ](#7aa2f7)";
|
||||
disabled = false;
|
||||
};
|
||||
cmd_duration = {
|
||||
min_time = 5000;
|
||||
style = "bold #9ece6a";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
8
repl.nix
Normal file
8
repl.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
let
|
||||
flake = builtins.getFlake (toString ./.);
|
||||
nixpkgs = import <nixpkgs> {};
|
||||
in {
|
||||
inherit flake;
|
||||
inherit nixpkgs;
|
||||
nixos = flake.nixosConfigurations;
|
||||
}
|
||||
|
|
@ -41,18 +41,21 @@
|
|||
boot = {
|
||||
initrd = {
|
||||
kernelModules = ["amdgpu"];
|
||||
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "uas" "sd_mod"];
|
||||
availableKernelModules = ["nvme" "ext4" "vfat" "xhci_pci" "ahci" "usbhid" "sd_mod"];
|
||||
includeDefaultModules = false;
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/e5c9634f-0273-4fd3-b35f-49899984340f";
|
||||
device = "/dev/disk/by-id/nvme-Samsung_SSD_980_500GB_S64ENJ0R607785J-part2";
|
||||
fsType = "ext4";
|
||||
label = "nixos";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/D3B9-197E";
|
||||
device = "/dev/disk/by-id/nvme-Samsung_SSD_980_500GB_S64ENJ0R607785J-part1";
|
||||
fsType = "vfat";
|
||||
label = "BOOT";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue