Commit 33f5ec97 authored by Christopher League's avatar Christopher League
Browse files

backgrounds, logout on reset

parent 2394898a
......@@ -117,3 +117,5 @@ places.sqlite
104 datareporting
1380 gmp-gmpopenh264
3320 storage
** xfce4 profile
{pkgs, ...}:
{
environment.pathsToLink = [
"/share/backgrounds"
];
environment.systemPackages = [
pkgs.adapta-backgrounds
(pkgs.runCommand "liucs-backgrounds" {} ''
mkdir -p $out/share/backgrounds
ln -s ${./backgrounds} $out/share/backgrounds/liucs
'')
];
}
......@@ -13,6 +13,7 @@ in
{
imports = [
"${home-manager}/nixos"
./backgrounds.nix
];
config = {
......@@ -46,8 +47,7 @@ in
{
programs.bash.enable = true;
programs.bash.shellAliases = {
# Could suggest/enforce running `sudo poweroff` after this
liucs-factory-config = "rsync ${rsync-skel}";
liucs-desktop-reset = "rsync ${rsync-skel} && xfce4-session-logout -l";
};
home.activation.copyDotFiles = {
before = [];
......@@ -61,10 +61,6 @@ in
tmux
firefox
atom
elementary-icon-theme
elementary-xfce-icon-theme
gnome3.adwaita-icon-theme
tango-icon-theme
];
};
}
......@@ -7,22 +7,22 @@
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/nix/store/d4p9rglzm61gcjxj2sjhh2bkm5bx1p4w-xfdesktop-4.12.3/share/backgrounds/xfce/xfce-teal.jpg"/>
<property name="last-image" type="string" value="/run/current-system/sw/share/backgrounds/liucs/bridge01.jpg"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/nix/store/d4p9rglzm61gcjxj2sjhh2bkm5bx1p4w-xfdesktop-4.12.3/share/backgrounds/xfce/xfce-teal.jpg"/>
<property name="last-image" type="string" value="/run/current-system/sw/share/backgrounds/liucs/bridge01.jpg"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/nix/store/d4p9rglzm61gcjxj2sjhh2bkm5bx1p4w-xfdesktop-4.12.3/share/backgrounds/xfce/xfce-teal.jpg"/>
<property name="last-image" type="string" value="/run/current-system/sw/share/backgrounds/liucs/bridge01.jpg"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/nix/store/d4p9rglzm61gcjxj2sjhh2bkm5bx1p4w-xfdesktop-4.12.3/share/backgrounds/xfce/xfce-teal.jpg"/>
<property name="last-image" type="string" value="/run/current-system/sw/share/backgrounds/liucs/bridge01.jpg"/>
</property>
</property>
</property>
......
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