forked from fabian/nix_config
it's forkin' time config de fabian
This commit is contained in:
parent
98a32736d6
commit
51a0965154
46 changed files with 119 additions and 1322 deletions
57
sys/platforms/yuki/default.nix
Normal file
57
sys/platforms/yuki/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
flakes,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
flakes.home-manager.nixosModules.home-manager
|
||||
flakes.impermanence.nixosModule
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
local.sys = {
|
||||
baseline.enable = true;
|
||||
|
||||
yubikey.enable = true;
|
||||
audio.enable = true;
|
||||
graphics.enable = true;
|
||||
virtualisation.enable = true;
|
||||
androidSupport.enable = true;
|
||||
steam.enable = true;
|
||||
gtklock.enable = true;
|
||||
|
||||
users = {
|
||||
chem = {
|
||||
enable = true;
|
||||
unixId = 1002;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
trivium.sway.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = "yuki";
|
||||
networkmanager.enable = true;
|
||||
|
||||
useDHCP = false; # The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
interfaces.enp7s0.useDHCP = true; # Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
interfaces.wlp6s0.useDHCP = true; # replicates the default behaviour.
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
tmp.useTmpfs = true;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8"; #todo: move to baseline?
|
||||
|
||||
time.timeZone = "America/Costa_Rica"; #todo: move to baseline?
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue