This commit is contained in:
parent
1c51cc375e
commit
a7719779bd
2 changed files with 4 additions and 8 deletions
|
|
@ -37,6 +37,7 @@
|
|||
# Home Manager #
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.fred = import ./home-manager/fred.nix;
|
||||
|
||||
#############################################################################
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
{ config, pkgs, lib, osConfig, ... }:
|
||||
{ config, pkgs, lib, osConfig, inputs, ... }:
|
||||
{
|
||||
config = lib.mkIf (lib.elem osConfig.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
|
||||
# Download wallpaper from GitHub repo and symlink it
|
||||
|
||||
home.file.".local/share/backgrounds/wallpaper.png".source =
|
||||
let
|
||||
wallpaperRepo = builtins.fetchGit {
|
||||
url = "https://github.com/ediblerope/nixos-config";
|
||||
ref = "main";
|
||||
};
|
||||
in "${wallpaperRepo}/walls/wallpaper.png";
|
||||
"${inputs.self}/walls/wallpaper.png";
|
||||
|
||||
# GNOME dconf settings
|
||||
dconf.settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue