Simplify T490 configuration
This commit is contained in:
parent
9af4a7dca1
commit
fd5dbd1fd2
5 changed files with 5 additions and 43 deletions
|
@ -1,14 +1,10 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common
|
../common
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./secrets.nix
|
|
||||||
./services
|
./services
|
||||||
./users.nix
|
|
||||||
|
|
||||||
../../users/luke.nix
|
../../users/luke.nix
|
||||||
../../users/opdavies.nix
|
../../users/opdavies.nix
|
||||||
|
@ -40,22 +36,5 @@
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
security = {
|
|
||||||
polkit.enable = true;
|
|
||||||
rtkit.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
gtypist
|
|
||||||
pam_gnupg
|
|
||||||
sxiv
|
|
||||||
ttyper
|
|
||||||
yt-dlp
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.hosts = {
|
|
||||||
"192.168.1.116" = [ "nixedo" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
age.secrets = {
|
|
||||||
cloudflare.file = ../../secrets/cloudflare.age;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -2,7 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./cron.nix
|
./cron.nix
|
||||||
./interception-tools.nix
|
./interception-tools.nix
|
||||||
./redshift.nix
|
|
||||||
./sound.nix
|
./sound.nix
|
||||||
./udev.nix
|
./udev.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
|
@ -27,5 +26,10 @@
|
||||||
throttled.enable = true;
|
throttled.enable = true;
|
||||||
thermald.enable = true;
|
thermald.enable = true;
|
||||||
upower.enable = true;
|
upower.enable = true;
|
||||||
|
|
||||||
|
xserver = {
|
||||||
|
desktopManager.cinnamon.enable = true;
|
||||||
|
displayManager.lightdm.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
{ pkgs, username, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
users.users.${username} = {
|
|
||||||
extraGroups = [ "media" ];
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
|
||||||
abook
|
|
||||||
android-tools
|
|
||||||
via
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
users.groups.media = { };
|
|
||||||
}
|
|
|
@ -3,7 +3,6 @@ let
|
||||||
lemp11 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZ+ljJKd6uqdAk+fqxwtObI4Stab2N9Bjo4QFHY/v8n";
|
lemp11 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZ+ljJKd6uqdAk+fqxwtObI4Stab2N9Bjo4QFHY/v8n";
|
||||||
nixedo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
nixedo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
||||||
t480 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
t480 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
||||||
t490 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue