Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d5ad75c06 | |||
| e63ca7b244 | |||
| ff7d03ecfd | |||
| c6b1361a68 | |||
| 934aeb429c | |||
| dbbdf8991f |
@@ -10,7 +10,6 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
mangohud
|
mangohud
|
||||||
sublime4
|
sublime4
|
||||||
proton-vpn
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,13 +95,6 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
flake-file.inputs = {
|
|
||||||
wrappers = {
|
|
||||||
url = "github:lassulus/wrappers";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
perSystem = { system, pkgs, lib, ... }: {
|
perSystem = { system, pkgs, lib, ... }: {
|
||||||
packages.janus-ca = inputs.wrappers.lib.wrapPackage {
|
packages.janus-ca = inputs.wrappers.lib.wrapPackage {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|||||||
@@ -125,6 +125,7 @@
|
|||||||
bash
|
bash
|
||||||
discord
|
discord
|
||||||
my-neovim
|
my-neovim
|
||||||
|
proton-vpn
|
||||||
];
|
];
|
||||||
ssh.certificates.enable = true;
|
ssh.certificates.enable = true;
|
||||||
ssh.matchSets = {
|
ssh.matchSets = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ self, inputs, ... }:
|
{ withSystem, self, inputs, ... }:
|
||||||
let
|
let
|
||||||
username = "john";
|
username = "john";
|
||||||
hostname = "john-pc-ubuntu";
|
hostname = "john-pc-ubuntu";
|
||||||
@@ -46,7 +46,7 @@ in
|
|||||||
test-push
|
test-push
|
||||||
selfPkgs.neovim-min
|
selfPkgs.neovim-min
|
||||||
# ${selfPkgs}.my-neovim
|
# ${selfPkgs}.my-neovim
|
||||||
selfPkgs.richPrinter
|
# selfPkgs.richPrinter
|
||||||
selfPkgs.janus-ca
|
selfPkgs.janus-ca
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -109,10 +109,9 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.homeConfigurations."${hostname}" = inputs.home-manager.lib.homeManagerConfiguration {
|
flake.homeConfigurations."john@john-pc-ubuntu" = withSystem "x86_64-linux" (ctx@{ config, inputs', ...}:
|
||||||
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
|
inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
modules = with inputs.self.modules; [
|
pkgs = inputs'.nixpkgs.legacyPackages;
|
||||||
homeManager."${hostname}"
|
modules = [ inputs.self.modules.homeManager."${hostname}" ];
|
||||||
];
|
});
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{ self, inputs, ... }: {
|
||||||
|
flake-file.inputs = {
|
||||||
|
wrapper-modules = {
|
||||||
|
url = "github:BirdeeHub/nix-wrapper-modules";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
wrappers = {
|
||||||
|
url = "github:lassulus/wrappers";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,14 +1,24 @@
|
|||||||
{ inputs, pkgs, lib, ... }:
|
{ self, inputs, ... }:
|
||||||
{
|
{
|
||||||
flake.modules.homeManager.eza = { pkgs, lib, ... }: {
|
flake.modules.homeManager.eza = { config, pkgs, lib, ... }: {
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.eza;
|
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
git = true;
|
||||||
home.shellAliases = {
|
icons = "auto";
|
||||||
ls = "${lib.getExe pkgs.eza} -algos type --follow-symlinks --all --all";
|
colors = "auto";
|
||||||
|
extraOptions = [
|
||||||
|
"--all"
|
||||||
|
"--long"
|
||||||
|
"--group-directories-first"
|
||||||
|
"--sort=type"
|
||||||
|
"--dereference"
|
||||||
|
"--octal-permissions"
|
||||||
|
"--smart-group"
|
||||||
|
"--no-time"
|
||||||
|
"--git"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,4 @@
|
|||||||
{ self, inputs, ... }: {
|
{ self, inputs, ... }: {
|
||||||
flake-file.inputs = {
|
|
||||||
wrapper-modules.url = "github:BirdeeHub/nix-wrapper-modules";
|
|
||||||
# wrapper-modules.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
flake.modules.nixos.niri = { pkgs, lib, ... }: {
|
flake.modules.nixos.niri = { pkgs, lib, ... }: {
|
||||||
programs.niri = {
|
programs.niri = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user