Commit e0250281 authored by Christopher League's avatar Christopher League
Browse files

reorg skel/, remove lxqt

parent c0eb315b
......@@ -14,6 +14,7 @@ in
imports = [
"${home-manager}/nixos"
./backgrounds.nix
./skel.nix
];
config = {
......@@ -38,24 +39,12 @@ in
extraGroups = ["wheel"];
};
home-manager.users.student =
let
skel = pkgs.callPackage ./skel {};
rsync-skel =
"--copy-links --chmod u+w --verbose --recursive ${skel}/ $HOME";
in
{
programs.bash.enable = true;
programs.bash.shellAliases = {
xdv = "setxkbmap -option ctrl:nocaps dvorak";
liucs-desktop-reset = "rsync ${rsync-skel} && xfce4-session-logout -l";
};
home.activation.copyDotFiles = {
before = [];
after = [];
data = "$DRY_RUN_CMD rsync --ignore-existing ${rsync-skel}";
};
home-manager.users.student = {
programs.bash.enable = true;
programs.bash.shellAliases = {
xdv = "setxkbmap -option ctrl:nocaps dvorak";
};
};
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
......
......@@ -10,5 +10,6 @@
memorySize = 1536;
writableStoreUseTmpfs = false;
};
networking.hostName = "liucs";
};
}
{pkgs, ...}:
let
# Could make this into a derivation if I need to patch any
# paths into the config files.
skel = ./skel;
rsync-args = "--copy-links --chmod u+w --verbose --recursive ${skel}/ $HOME";
in
{
home-manager.users.student = {
programs.bash.shellAliases = {
liucs-desktop-reset = "rsync ${rsync-args} && xfce4-session-logout -l";
};
home.activation.copySkelConfigs = {
before = [];
after = [];
data = "$DRY_RUN_CMD rsync --ignore-existing ${rsync-args}";
};
};
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment