l skynet.r: revive

This commit is contained in:
lassulus 2018-11-20 01:13:05 +01:00
parent ebc9dd353a
commit 0328c75a12
2 changed files with 29 additions and 20 deletions

View File

@ -5,42 +5,34 @@ with import <stockholm/lib>;
<stockholm/lass> <stockholm/lass>
<stockholm/lass/2configs/retiolum.nix> <stockholm/lass/2configs/retiolum.nix>
#<stockholm/lass/2configs/exim-retiolum.nix>
<stockholm/lass/2configs/fetchWallpaper.nix> <stockholm/lass/2configs/fetchWallpaper.nix>
{ {
# discordius config
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.desktopManager.xfce.enable = true;
users.users.discordius = { users.users.discordius = {
uid = genid "discordius"; uid = genid "diskordius";
home = "/home/discordius"; isNormalUser = true;
group = "users";
createHome = true;
extraGroups = [ extraGroups = [
"audio" "audio"
"networkmanager" "networkmanager"
]; ];
useDefaultShell = true;
}; };
networking.networkmanager.enable = true; environment.systemPackages = with pkgs; [
networking.wireless.enable = mkForce false; google-chrome
];
hardware.pulseaudio = { hardware.pulseaudio = {
enable = true; enable = true;
systemWide = true; systemWide = true;
}; };
environment.systemPackages = with pkgs; [
pavucontrol
firefox
hexchat
networkmanagerapplet
];
services.xserver.desktopManager.gnome3 = {
enable = true;
};
} }
]; ];
krebs.build.host = config.krebs.hosts.skynet; krebs.build.host = config.krebs.hosts.skynet;
networking.wireless.enable = false;
networking.networkmanager.enable = true;
services.logind.extraConfig = '' services.logind.extraConfig = ''
HandleLidSwitch=ignore HandleLidSwitch=ignore
''; '';

View File

@ -1,10 +1,27 @@
{ {
imports = [ imports = [
./config.nix ./config.nix
<stockholm/lass/2configs/hw/x220.nix> <stockholm/krebs/2configs/hw/x220.nix>
<stockholm/lass/2configs/boot/stock-x220.nix>
]; ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.device = "nodev";
networking.hostId = "06442b9a";
fileSystems."/" =
{ device = "rpool/root";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0876-B308";
fsType = "vfat";
};
services.udev.extraRules = '' services.udev.extraRules = ''
SUBSYSTEM=="net", ATTR{address}=="10:0b:a9:a6:44:04", NAME="wl0" SUBSYSTEM=="net", ATTR{address}=="10:0b:a9:a6:44:04", NAME="wl0"
SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:d1:90:fc", NAME="et0" SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:d1:90:fc", NAME="et0"