Merge branch 'master' of github.com:Kropatz/dotfiles
This commit is contained in:
@@ -25,5 +25,3 @@
|
|||||||
path = .gitconfig-gitea
|
path = .gitconfig-gitea
|
||||||
[includeIf "gitdir/i:~/projects/fh/**"]
|
[includeIf "gitdir/i:~/projects/fh/**"]
|
||||||
path = .gitconfig-gitlabfh
|
path = .gitconfig-gitlabfh
|
||||||
[core]
|
|
||||||
editor = kate
|
|
||||||
|
|||||||
37
flake.lock
generated
37
flake.lock
generated
@@ -118,6 +118,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixinate": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1688141737,
|
||||||
|
"narHash": "sha256-qHrNMYWukOKmKVf6wXOGKj1xxUnOGjvTRbt/PLLXuBE=",
|
||||||
|
"owner": "matthewcroughan",
|
||||||
|
"repo": "nixinate",
|
||||||
|
"rev": "7902ae845e6cc5bd450e510cdf5e009a6e4a44d9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "matthewcroughan",
|
||||||
|
"repo": "nixinate",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699159446,
|
"lastModified": 1699159446,
|
||||||
@@ -188,6 +206,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1653060744,
|
||||||
|
"narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "dfd82985c273aac6eced03625f454b334daae2e8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699110214,
|
"lastModified": 1699110214,
|
||||||
"narHash": "sha256-L2TU4RgtiqF69W8Gacg2jEkEYJrW+Kp0Mp4plwQh5b8=",
|
"narHash": "sha256-L2TU4RgtiqF69W8Gacg2jEkEYJrW+Kp0Mp4plwQh5b8=",
|
||||||
@@ -207,9 +241,10 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
|
"nixinate": "nixinate",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable"
|
"nixpkgs-unstable": "nixpkgs-unstable"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
14
flake.nix
14
flake.nix
@@ -14,6 +14,7 @@
|
|||||||
url = "github:nix-community/NixOS-WSL";
|
url = "github:nix-community/NixOS-WSL";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nixinate.url = "github:matthewcroughan/nixinate";
|
||||||
};
|
};
|
||||||
outputs = { self,
|
outputs = { self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
@@ -21,7 +22,8 @@
|
|||||||
nixos-wsl,
|
nixos-wsl,
|
||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
agenix,
|
agenix,
|
||||||
home-manager
|
home-manager,
|
||||||
|
nixinate
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@@ -29,6 +31,7 @@
|
|||||||
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
apps = nixinate.nixinate.${system} self;
|
||||||
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
@@ -66,6 +69,15 @@
|
|||||||
./modules/netdata.nix
|
./modules/netdata.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
{
|
||||||
|
_module.args.nixinate = {
|
||||||
|
host = "192.168.2.1";
|
||||||
|
sshUser = "anon";
|
||||||
|
buildOn = "remote"; # valid args are "local" or "remote"
|
||||||
|
substituteOnTarget = true; # if buildOn is "local" then it will substitute on the target, "-s"
|
||||||
|
hermetic = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
## Custom variables (e.g. ip, interface, etc)
|
## Custom variables (e.g. ip, interface, etc)
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
};
|
};
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
rnix-lsp
|
rnix-lsp
|
||||||
gcc
|
gcc
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ in
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" ];
|
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
discord
|
(discord.override { withVencord = true; })
|
||||||
librewolf
|
librewolf
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user