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

reorg skel/, remove lxqt

parent c0eb315b
...@@ -14,6 +14,7 @@ in ...@@ -14,6 +14,7 @@ in
imports = [ imports = [
"${home-manager}/nixos" "${home-manager}/nixos"
./backgrounds.nix ./backgrounds.nix
./skel.nix
]; ];
config = { config = {
...@@ -38,24 +39,12 @@ in ...@@ -38,24 +39,12 @@ in
extraGroups = ["wheel"]; extraGroups = ["wheel"];
}; };
home-manager.users.student = home-manager.users.student = {
let programs.bash.enable = true;
skel = pkgs.callPackage ./skel {}; programs.bash.shellAliases = {
rsync-skel = xdv = "setxkbmap -option ctrl:nocaps dvorak";
"--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}";
};
}; };
};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
......
...@@ -10,5 +10,6 @@ ...@@ -10,5 +10,6 @@
memorySize = 1536; memorySize = 1536;
writableStoreUseTmpfs = false; 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