Compare commits
No commits in common. "d26d2d511640be3d2462454c88b3cf1009d156ee" and "de46bcead16272d8ff0dc097be276defa8cd0741" have entirely different histories.
d26d2d5116
...
de46bcead1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
/.direnv/
|
|
30
README.md
30
README.md
@ -1,33 +1,5 @@
|
|||||||
# Home Manager Config
|
# 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
|
## Laptop
|
||||||
|
|
||||||
Specific instructions for the `Lenovo Thinkpad Yoga C13 (Morphius)`
|
Specific instructions for the `Lenovo Thinkpad Yoga C13 (Morphius)`
|
||||||
@ -74,7 +46,7 @@ home-manager switch --flake .#laptop --extra-experimental-features "nix-command
|
|||||||
|
|
||||||
Configure the following:
|
Configure the following:
|
||||||
|
|
||||||
* syncthing
|
* synthing
|
||||||
* gpg
|
* gpg
|
||||||
|
|
||||||
In case ssh does not work work do
|
In case ssh does not work work do
|
||||||
|
@ -99,14 +99,5 @@
|
|||||||
"org/gnome/nautilus/preferences" = {
|
"org/gnome/nautilus/preferences" = {
|
||||||
show-image-thumbnails = "always";
|
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)])>)>]";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
12
flake.nix
12
flake.nix
@ -44,7 +44,7 @@
|
|||||||
formatter.${system} = pkgs.alejandra;
|
formatter.${system} = pkgs.alejandra;
|
||||||
|
|
||||||
commonModules = [
|
commonModules = [
|
||||||
./systems/common
|
./common
|
||||||
|
|
||||||
{
|
{
|
||||||
_module.args.wallpaper = wallpaper.packages.${system}.default;
|
_module.args.wallpaper = wallpaper.packages.${system}.default;
|
||||||
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
./systems/pc
|
./pc
|
||||||
]
|
]
|
||||||
++ self.commonModules;
|
++ self.commonModules;
|
||||||
};
|
};
|
||||||
@ -95,16 +95,10 @@
|
|||||||
|
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
./systems/laptop
|
./laptop
|
||||||
]
|
]
|
||||||
++ self.commonModules;
|
++ self.commonModules;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
devShells.${system}.default = pkgs.mkShellNoCC {
|
|
||||||
packages = [
|
|
||||||
pkgs.dconf2nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user