Merge branch 'master' of git.polynom.me:PapaTutuWawa/nixos-config
This commit is contained in:
commit
ed0caaa09c
29
ayame.nix
29
ayame.nix
@ -36,7 +36,7 @@ in {
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader = {
|
loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = false;
|
||||||
grub = {
|
grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
efiInstallAsRemovable = true;
|
efiInstallAsRemovable = true;
|
||||||
@ -70,18 +70,18 @@ in {
|
|||||||
xserver.videoDrivers = [ "modesetting" "fbdev" ];
|
xserver.videoDrivers = [ "modesetting" "fbdev" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
#systemd.services = {
|
||||||
rfkill-workaround = {
|
# rfkill-workaround = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
description = "Work around rfkill having the Wifi blocked at boot";
|
# description = "Work around rfkill having the Wifi blocked at boot";
|
||||||
before = [ "network.target" ];
|
# before = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
# wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
# serviceConfig = {
|
||||||
Type = "oneshot";
|
# Type = "oneshot";
|
||||||
ExecStart = "rfkill unblock all";
|
# ExecStart = "rfkill unblock all";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
@ -94,7 +94,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
# TODO: Replace by UUID
|
{ device = "/dev/disk/by-uuid/cf3b1e1c-c245-4452-ad49-68ac72369e77"; }
|
||||||
{ device = "/dev/disk/by-label/swap"; }
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Special options for mobile devices
|
# Special options for mobile devices
|
||||||
{
|
{
|
||||||
# Battery savings
|
# Battery savings
|
||||||
services.tlp.enable = true;
|
#services.tlp.enable = true;
|
||||||
|
|
||||||
# TODO: Maybe move this out of here
|
# TODO: Maybe move this out of here
|
||||||
environment.systemPackages = [ pkgs.iio-sensor-proxy ];
|
environment.systemPackages = [ pkgs.iio-sensor-proxy ];
|
||||||
|
@ -2,7 +2,7 @@ pkgs:
|
|||||||
|
|
||||||
import (builtins.fetchTarball {
|
import (builtins.fetchTarball {
|
||||||
url = "https://github.com/nix-community/NUR/archive/master.tar.gz";
|
url = "https://github.com/nix-community/NUR/archive/master.tar.gz";
|
||||||
sha256 = "1p0qa9bs8k0jhkdkyvxfcpi2hz2n8d61c63ps7mavk9z3zgnx20j";
|
sha256 = "0znxac6j1139l777lfjm6y19px5xbdk3jcwcynwbmg5yafn8az0n";
|
||||||
}) {
|
}) {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user