revamp
This commit is contained in:
parent
d23c039131
commit
f59e1af4bd
20 changed files with 62 additions and 157 deletions
|
@ -14,6 +14,7 @@
|
|||
./plasma.nix
|
||||
./printing.nix
|
||||
./syncthing.nix
|
||||
./users.nix
|
||||
./vm.nix
|
||||
./wine.nix
|
||||
];
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
{
|
||||
boot.initrd.luks.devices.main.device = "/dev/disk/by-label/cryptmain";
|
||||
|
||||
fileSystems = {
|
||||
"/home" = {
|
||||
device = "/dev/mapper/main";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=home" "compress=zstd" "noatime"];
|
||||
};
|
||||
"/nix".device = "/dev/mapper/main";
|
||||
"/persist".device = "/dev/mapper/main";
|
||||
"/var/log".device = "/dev/mapper/main";
|
||||
};
|
||||
fileSystems."/".device = "/dev/mapper/main";
|
||||
}
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
environment.persistence."/persist".directories = ["/etc/mullvad-vpn"];
|
||||
|
||||
services.mullvad-vpn = {
|
||||
enable = true;
|
||||
package = pkgs.mullvad-vpn;
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
environment.persistence."/persist".directories = ["/etc/NetworkManager"];
|
||||
|
||||
services.resolved.enable = true;
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -11,25 +11,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs.kdePackages; [discover kate];
|
||||
sessionVariables = {
|
||||
SUDO_ASKPASS = pkgs.writeShellScript "kdialogaskpass" ''
|
||||
exec ${lib.getExe' pkgs.kdialog "kdialog"} --password Askpass
|
||||
'';
|
||||
MOZ_USE_XINPUT2 = "1";
|
||||
GDK_SCALE = "1";
|
||||
};
|
||||
environment.systemPackages = with pkgs.kdePackages; [sddm-kcm discover kate];
|
||||
|
||||
programs = {
|
||||
kdeconnect.enable = true;
|
||||
partition-manager.enable = true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||
};
|
||||
|
||||
programs = {
|
||||
kdeconnect.enable = true;
|
||||
partition-manager.enable = true;
|
||||
dconf.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
3
class/desktop/users.nix
Normal file
3
class/desktop/users.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
users.mutableUsers = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue