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
The default desktop environment on the OCF desktops is KDE Plasma. To make configuration management easier on KDE, we will use a home manager module called [plasma-manager](https://github.com/nix-community/plasma-manager).
40
+
41
+
First, you'll want to add `plasma-manager` to your `flake.nix` file like so:
# Specify your home configuration modules here, for example,
58
68
# the path to your home.nix.
59
-
modules = [ ./home.nix ];
69
+
modules = [
70
+
plasma-manager.homeModules.plasma-manager
71
+
./home.nix
72
+
];
60
73
61
74
# Optionally use extraSpecialArgs
62
75
# to pass through arguments to home.nix
63
76
};
64
-
formatter.${system} = pkgs.nixpkgs-fmt;
65
77
};
66
78
}
67
79
```
68
80
69
-
Now, we're going to create a basic `home.nix` file, where the majority of our customization will later take place.
81
+
Then, re-apply the flake with `nix run home-manager -- switch --flake ~/remote/home-manager`. You should see some terminal output, with some lines about the new inputs getting successfully added! You can now begin customizing your desktop. Be sure to save the files you've changed and run that command each time you want to refresh your configuration.
82
+
83
+
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
+
85
+
## System light/dark mode
70
86
71
-
More resources:
87
+
Insert the following in your `home.nix` file to change the system theme to dark:
You can look at the logs and outputs from your desktoprc by running `$ systemctl —user status desktoprc.service` or `$ journalctl —user desktoprc.service`.
78
106
@@ -81,4 +109,21 @@ You can look at the logs and outputs from your desktoprc by running `$ systemctl
0 commit comments