Compare commits
No commits in common. "c650df2204c6dd0e62bd3e305debbec11cf16359" and "dc66fb7f3846cbee2eecc8e033e2106a255e20a9" have entirely different histories.
c650df2204
...
dc66fb7f38
|
|
@ -20,20 +20,5 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
security.doas.extraRules = [
|
|
||||||
{
|
|
||||||
users = ["u2h"];
|
|
||||||
noPass = true;
|
|
||||||
cmd = "rmmod";
|
|
||||||
args = ["wacom"];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
services.xserver.wacom.enable = true;
|
services.xserver.wacom.enable = true;
|
||||||
environment.systemPackages = [
|
|
||||||
pkgs.nvtopPackages.amd
|
|
||||||
];
|
|
||||||
# prevent mouse from waking up suspend
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c547", ATTR{power/wakeup}="disabled"
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,12 +25,9 @@
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/1FF4-8F2A";
|
device = "/dev/disk/by-uuid/1FF4-8F2A";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = ["fmask=0022" "dmask=0022"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [];
|
||||||
{device = "/dev/disk/by-uuid/fb2a814c-00ac-4458-a06a-fb8244ff953a";}
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,6 @@
|
||||||
groups = ["wheel"];
|
groups = ["wheel"];
|
||||||
persist = true;
|
persist = true;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
groups = ["wheel"];
|
|
||||||
noPass = true;
|
|
||||||
cmd = "journalctl";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
buildInputs = [pkgs.makeWrapper];
|
buildInputs = [pkgs.makeWrapper];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/firefox \
|
wrapProgram $out/bin/firefox \
|
||||||
--set HOME "${config.home.homeDirectory}/.local/home"
|
--set HOME "${config.home.homeDirectory}/.local/share"
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
alacritty
|
alacritty
|
||||||
|
|
|
||||||
15
user/xdg.nix
15
user/xdg.nix
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
xdg.mimeApps.enable = true;
|
xdg.mimeApps.enable = true;
|
||||||
xdg.mimeApps.defaultApplications = let
|
xdg.mimeApps.defaultApplications = let
|
||||||
image = "nsxiv-rifle.desktop";
|
image = "nsxiv-rifle.desktop";
|
||||||
|
|
@ -33,13 +29,4 @@
|
||||||
extraPortals = [pkgs.libsForQt5.xdg-desktop-portal-kde];
|
extraPortals = [pkgs.libsForQt5.xdg-desktop-portal-kde];
|
||||||
config.common.default = "kde";
|
config.common.default = "kde";
|
||||||
};
|
};
|
||||||
home.file = let
|
|
||||||
mkln = x: config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/${x}";
|
|
||||||
in {
|
|
||||||
".local/home/.cache".source = mkln ".cache";
|
|
||||||
".local/home/.config".source = mkln ".config";
|
|
||||||
".local/home/.local".source = mkln ".local";
|
|
||||||
".local/home/Desktop".source = mkln "Desktop";
|
|
||||||
".local/home/Downloads".source = mkln "Downloads";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue