Compare commits
2 Commits
de46bcead1
...
d26d2d5116
Author | SHA1 | Date | |
---|---|---|---|
d26d2d5116 | |||
a2cd8d467f |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/.direnv/
|
30
README.md
30
README.md
@ -1,5 +1,33 @@
|
||||
# Home Manager Config
|
||||
|
||||
## Systems
|
||||
|
||||
Current available systems are:
|
||||
|
||||
* `pc`
|
||||
My workstation PC running NixOS.
|
||||
* `laptop`
|
||||
My laptop, a Thinkpad X1 Carbon Gen 7, also running NixOS.
|
||||
|
||||
After
|
||||
|
||||
## dconf
|
||||
|
||||
It is possible to observe live changes to dconf via `dconf watch /`.
|
||||
If you want to convert the current dconf to a nix expression enter the dev shell with `nix develop` and do
|
||||
|
||||
```txt
|
||||
dconf dump / | dconf2nix > dconf.nix
|
||||
```
|
||||
|
||||
Build with
|
||||
|
||||
```txt
|
||||
home-manager switch --flake .#[configuration]
|
||||
```
|
||||
|
||||
After first deployment it suffices to do `hms` for `home-manager switch ...`.
|
||||
|
||||
## Laptop
|
||||
|
||||
Specific instructions for the `Lenovo Thinkpad Yoga C13 (Morphius)`
|
||||
@ -46,7 +74,7 @@ home-manager switch --flake .#laptop --extra-experimental-features "nix-command
|
||||
|
||||
Configure the following:
|
||||
|
||||
* synthing
|
||||
* syncthing
|
||||
* gpg
|
||||
|
||||
In case ssh does not work work do
|
||||
|
12
flake.nix
12
flake.nix
@ -44,7 +44,7 @@
|
||||
formatter.${system} = pkgs.alejandra;
|
||||
|
||||
commonModules = [
|
||||
./common
|
||||
./systems/common
|
||||
|
||||
{
|
||||
_module.args.wallpaper = wallpaper.packages.${system}.default;
|
||||
@ -85,7 +85,7 @@
|
||||
|
||||
modules =
|
||||
[
|
||||
./pc
|
||||
./systems/pc
|
||||
]
|
||||
++ self.commonModules;
|
||||
};
|
||||
@ -95,10 +95,16 @@
|
||||
|
||||
modules =
|
||||
[
|
||||
./laptop
|
||||
./systems/laptop
|
||||
]
|
||||
++ self.commonModules;
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system}.default = pkgs.mkShellNoCC {
|
||||
packages = [
|
||||
pkgs.dconf2nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -99,5 +99,14 @@
|
||||
"org/gnome/nautilus/preferences" = {
|
||||
show-image-thumbnails = "always";
|
||||
};
|
||||
|
||||
"org/gnome/Weather" = {
|
||||
locations = "[<(uint32 2, <('Vienna', 'LOWW', true, [(0.83979426423570236, 0.2891428852314914)], [(0.84124869946126679, 0.28565222672750273)])>)>]";
|
||||
};
|
||||
|
||||
"org/gnome/shell/weather" = {
|
||||
automatic-location = true;
|
||||
locations = "[<(uint32 2, <('Vienna', 'LOWW', true, [(0.83979426423570236, 0.2891428852314914)], [(0.84124869946126679, 0.28565222672750273)])>)>]";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user