You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-docs/desktop-customization/index.md
+40-14Lines changed: 40 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,16 @@ To begin customizing your desktop, you need to create a file named `.desktoprc`
10
10
in your remote directory. This is a bash script which will be sourced each time
11
11
you log into any OCF desktop.
12
12
13
+
Lines that start with `$` are commands to enter into a terminal emulator such as `kitty` or `Konsole`.
14
+
13
15
>`~/remote` is an sshfs mount from `tsunami`, the OCF's public login server
14
16
15
17
To create a `.desktoprc` file, open a text editor of your choice and create a new file at `~/remote/.desktoprc`.
16
18
17
19
For example, here's how to do it with the Konsole terminal and Kate text editor:
18
20
19
21
1. Press Ctrl+Alt+T
20
-
2. Run `kate ~/remote/.desktoprc`
22
+
2. Run `$ kate ~/remote/.desktoprc` in a terminal such as `kitty`.
21
23
3. Paste the following line: `nix run home-manager -- switch --flake ~/remote/home-manager`
22
24
4. Ctrl+S to save
23
25
@@ -26,13 +28,13 @@ Now, after logging in, the computer will switch to the flake within that directo
26
28
## Home Manager Flake
27
29
28
30
We will first create a directory on `~/remote` that will set up NixOS
29
-
Home Manager via a Nix Flake.
31
+
Home Manager via a Nix Flake. Run these commands in a terminal such as `kitty`.
30
32
31
-
`mkdir ~/remote/home-manager`
33
+
`$ mkdir ~/remote/home-manager`
32
34
33
35
Now, we will generate basic `flake.nix` and `home.nix` files in that directory we just made with the next command.
34
36
35
-
`nix run home-manager/master -- init ~/remote/home-manager`
37
+
`$ nix run home-manager/master -- init ~/remote/home-manager`
36
38
37
39
## Plasma Manager
38
40
@@ -82,23 +84,47 @@ Then, re-apply the flake with `nix run home-manager -- switch --flake ~/remote/h
82
84
83
85
If you're having trouble understanding Nix syntax, check out the Nix documentation on [Names and Values](https://nix.dev/tutorials/nix-language.html#names-and-values).
84
86
85
-
## System light/dark mode
87
+
###System light/dark mode
86
88
87
89
Insert the following in your `home.nix` file to change the system theme to dark:
88
90
89
91
```nix title="home.nix"
90
-
programs.plasma = {
91
-
enable = true;
92
-
93
-
workspace = {
94
-
lookAndFeel = "org.kde.breezedark.desktop";
95
-
iconTheme = "Papirus-Dark";
92
+
programs.plasma.workspace = {
93
+
lookAndFeel = "org.kde.breezedark.desktop";
94
+
iconTheme = "Papirus-Dark";
96
95
};
97
96
```
98
97
99
-
## Setting the wallpaper
100
-
## Custom KDE cursor
98
+
### Desktop Themes
99
+
100
+
1. Find a theme you want. Here are some from the official `nixpkgs` repository:
2. Add a line with the nix package name, such as `pkgs.kde-gruvbox`, to the `home.packages` list in the `home.nix` file.
110
+
111
+
3. Re-apply the flake (`$ nix run home-manager -- switch --flake ~/remote/home-manager`), then run `$ plasma-apply-desktoptheme --list-themes` to check that it was installed.
112
+
113
+
4. A
114
+
115
+
### Setting the wallpaper
116
+
117
+
### Additional Customization!
118
+
119
+
See [Plasma-Manager Options](https://nix-community.github.io/plasma-manager/options.xhtml)
120
+
121
+
### Custom KDE cursor
122
+
123
+
## Terminal Customization
101
124
125
+
1.https://home-manager-options.extranix.com/
126
+
2. Look at the options
127
+
3. Set it (ex. programs.kitty.themeFile)
102
128
103
129
## Debugging and Monitoring
104
130
@@ -109,7 +135,7 @@ You can look at the logs and outputs from your desktoprc by running `$ systemctl
0 commit comments