XDG_CONFIG_HOME/nixpkgs->XDG_CONFIG_HOME/home-manager
This commit is contained in:
parent
15836f06f3
commit
e1592b5cff
|
@ -1,7 +1,7 @@
|
||||||
# My Nix config
|
# My Nix config
|
||||||
|
|
||||||
To install, put `system` to `/etc/nixos`, put `home` to
|
To install, put `system` to `/etc/nixos`, put `home` to
|
||||||
`~/.config/nixpkgs`.
|
`~/.config/home-manager` (and `overlays.nix` to `~/.config/nixpkgs`)
|
||||||
|
|
||||||
The reason they are separate is because I want to be able to iterate
|
The reason they are separate is because I want to be able to iterate
|
||||||
home config quickly, and `nixos-rebuild`'ing the entire sytem for every
|
home config quickly, and `nixos-rebuild`'ing the entire sytem for every
|
||||||
|
|
|
@ -80,7 +80,7 @@ commonConfig = {
|
||||||
inherit modifier;
|
inherit modifier;
|
||||||
startup = [
|
startup = [
|
||||||
{ command = builtins.toString (with pkgs; writeShellScript "init-wm" ''
|
{ command = builtins.toString (with pkgs; writeShellScript "init-wm" ''
|
||||||
${callPackage ../pkgs/home-daemon {}}/bin/dotfiles-home-daemon system76-scheduler&
|
${home-daemon}/bin/home-daemon system76-scheduler&
|
||||||
${gnome.zenity}/bin/zenity --password | (${keepassxc}/bin/keepassxc --pw-stdin ~/Nextcloud/keepass.kdbx&)
|
${gnome.zenity}/bin/zenity --password | (${keepassxc}/bin/keepassxc --pw-stdin ~/Nextcloud/keepass.kdbx&)
|
||||||
# nextcloud and nheko need secret service access
|
# nextcloud and nheko need secret service access
|
||||||
${nextcloud-client}/bin/nextcloud --background&
|
${nextcloud-client}/bin/nextcloud --background&
|
||||||
|
@ -448,7 +448,7 @@ in
|
||||||
};
|
};
|
||||||
terminal = config.terminalBin;
|
terminal = config.terminalBin;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modi = [ "steam:${pkgs.callPackage ../pkgs/rofi-steam-game-list {}}/bin/rofi-steam-game-list" "drun" "run" "ssh" ];
|
modi = [ "steam:${pkgs.rofi-steam-game-list}/bin/rofi-steam-game-list" "drun" "run" "ssh" ];
|
||||||
icon-theme = "hicolor";
|
icon-theme = "hicolor";
|
||||||
drun-match-fields = [ "name" "generic" "exec" "keywords" ];
|
drun-match-fields = [ "name" "generic" "exec" "keywords" ];
|
||||||
show-icons = true;
|
show-icons = true;
|
||||||
|
|
|
@ -37,6 +37,12 @@
|
||||||
"https://cache.nixos.org"
|
"https://cache.nixos.org"
|
||||||
# "https://nixpkgs-wayland.cachix.org"
|
# "https://nixpkgs-wayland.cachix.org"
|
||||||
];
|
];
|
||||||
|
overlays = [
|
||||||
|
(self: super: import ./pkgs {
|
||||||
|
pkgs = super;
|
||||||
|
})
|
||||||
|
nix-gaming.overlays.default
|
||||||
|
];
|
||||||
};
|
};
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
# pkgs-wayland = nixpkgs-wayland.packages.${system};
|
# pkgs-wayland = nixpkgs-wayland.packages.${system};
|
||||||
|
@ -44,13 +50,6 @@
|
||||||
modules = [
|
modules = [
|
||||||
notlua.nixosModules.default
|
notlua.nixosModules.default
|
||||||
nur.nixosModules.nur
|
nur.nixosModules.nur
|
||||||
{ nixpkgs.overlays = [
|
|
||||||
nix-gaming.overlays.default
|
|
||||||
(self: super: {
|
|
||||||
clang_latest = super.clang_15;
|
|
||||||
clang-tools_latest = super.clang-tools_15;
|
|
||||||
})
|
|
||||||
]; }
|
|
||||||
./hosts/nixmsi.nix
|
./hosts/nixmsi.nix
|
||||||
(getPriv "nixmsi")
|
(getPriv "nixmsi")
|
||||||
];
|
];
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
kdenlive
|
kdenlive
|
||||||
mediainfo
|
mediainfo
|
||||||
glaxnimate
|
glaxnimate
|
||||||
(pkgs.callPackage ../pkgs/lalrpop { })
|
lalrpop
|
||||||
# waiting until the PR gets merged
|
# waiting until the PR gets merged
|
||||||
(looking-glass-client.overrideAttrs (old: {
|
(looking-glass-client.overrideAttrs (old: {
|
||||||
version = "B6";
|
version = "B6";
|
||||||
|
|
7
home/pkgs/default.nix
Normal file
7
home/pkgs/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
lalrpop = pkgs.callPackage ./lalrpop { };
|
||||||
|
home-daemon = pkgs.callPackage ./home-daemon { };
|
||||||
|
rofi-steam-game-list = pkgs.callPackage ./rofi-steam-game-list { };
|
||||||
|
clang_latest = pkgs.clang_15;
|
||||||
|
clang-tools_latest = pkgs.clang-tools_15;
|
||||||
|
}
|
2
home/pkgs/home-daemon/Cargo.lock
generated
2
home/pkgs/home-daemon/Cargo.lock
generated
|
@ -228,7 +228,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dotfiles-home-daemon"
|
name = "home-daemon"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures-util",
|
"futures-util",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "dotfiles-home-daemon"
|
name = "home-daemon"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue