Compare commits

..

2 Commits

Author SHA1 Message Date
d26d2d5116
updated README 2023-09-25 20:09:24 +02:00
a2cd8d467f
restructured
* laptop, pc and common now live in systems
* new dev shell to run dconf2nix
* New dconf weather entry (currently not functional)
2023-09-25 20:02:11 +02:00
27 changed files with 49 additions and 4 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.direnv/

View File

@ -1,5 +1,33 @@
# 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)`
@ -46,7 +74,7 @@ home-manager switch --flake .#laptop --extra-experimental-features "nix-command
Configure the following: Configure the following:
* synthing * syncthing
* gpg * gpg
In case ssh does not work work do In case ssh does not work work do

View File

@ -44,7 +44,7 @@
formatter.${system} = pkgs.alejandra; formatter.${system} = pkgs.alejandra;
commonModules = [ commonModules = [
./common ./systems/common
{ {
_module.args.wallpaper = wallpaper.packages.${system}.default; _module.args.wallpaper = wallpaper.packages.${system}.default;
@ -85,7 +85,7 @@
modules = modules =
[ [
./pc ./systems/pc
] ]
++ self.commonModules; ++ self.commonModules;
}; };
@ -95,10 +95,16 @@
modules = modules =
[ [
./laptop ./systems/laptop
] ]
++ self.commonModules; ++ self.commonModules;
}; };
}; };
devShells.${system}.default = pkgs.mkShellNoCC {
packages = [
pkgs.dconf2nix
];
};
}; };
} }

View File

@ -99,5 +99,14 @@
"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)])>)>]";
};
}; };
} }