reorganization
This commit is contained in:
parent
2ad77494b2
commit
b6afba390b
24 changed files with 144 additions and 128 deletions
36
default.nix
36
default.nix
|
|
@ -19,34 +19,18 @@ in {
|
|||
inputs.vicinae.homeManagerModules.default
|
||||
];
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
# i mostly disagree with state versions, just use the oldest one i have set up
|
||||
# they seem reasonable at first but are so messy across multiple hosts
|
||||
# a lot of the time they're used for stuff that isn't even state (looking at you, home-manager)
|
||||
system.stateVersion = mkDefault "23.11";
|
||||
system.configurationRevision = with inputs; mkIf (self ? rev) self.rev;
|
||||
hm.home.stateVersion = config.system.stateVersion;
|
||||
|
||||
boot = {
|
||||
kernelPackages = mkDefault pkgs.linuxPackages_latest;
|
||||
kernelParams = [ "pcie_aspm.policy=performance" ];
|
||||
};
|
||||
|
||||
# configure keymap in x11
|
||||
services.xserver.xkb = {
|
||||
layout = "us";
|
||||
variant = "qwerty";
|
||||
};
|
||||
console = {
|
||||
useXkbConfig = mkDefault true;
|
||||
};
|
||||
|
||||
services.earlyoom.enable = true;
|
||||
boot.kernelPackages = mkDefault pkgs.linuxPackages_latest;
|
||||
|
||||
# TODO: drop geoclue entirely. too lazy 2 to that now
|
||||
services.automatic-timezoned.enable = mkDefault true;
|
||||
time.timeZone = mkDefault null; # handled by automatic-timezoned
|
||||
|
||||
i18n = mkDefault {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
||||
};
|
||||
|
||||
location.provider = mkDefault "geoclue2";
|
||||
services.geoclue2 = {
|
||||
enable = mkDefault true;
|
||||
|
|
@ -57,10 +41,6 @@ in {
|
|||
submissionNick = "geoclue";
|
||||
};
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
openssh mosh
|
||||
git
|
||||
];
|
||||
# git is needed for flakes, yet, isn't in `environment.corePackages`
|
||||
environment.systemPackages = with pkgs; [ git ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue