Compare commits
No commits in common. "46a599e19daf24221db19b24cf0356b5af4b2808" and "56da3287073bfc1e1a98f8af10a8c7db0c934c31" have entirely different histories.
46a599e19d
...
56da328707
6 changed files with 120 additions and 92 deletions
|
|
@ -19,7 +19,9 @@ topLevel: {
|
|||
# TODO: dunno why I need this packge
|
||||
environment.systemPackages = [ pkgs.dconf ];
|
||||
|
||||
imports = with topLevel.config.flake.modules.nixos; [
|
||||
imports =
|
||||
with topLevel.config.flake.modules.nixos;
|
||||
[
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
|
||||
|
|
@ -39,7 +41,22 @@ topLevel: {
|
|||
|
||||
# Users
|
||||
cholli
|
||||
root
|
||||
]
|
||||
++ [
|
||||
{
|
||||
home-manager.users.cholli = {
|
||||
imports = with topLevel.config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
|
||||
# Activate all user based config
|
||||
cholli
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
|
||||
services.tailscale = {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,24 @@ topLevel: {
|
|||
server
|
||||
|
||||
cholli
|
||||
root
|
||||
]
|
||||
++ [
|
||||
{
|
||||
home-manager.users.cholli = {
|
||||
imports = with topLevel.config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
|
||||
# Activate all user based config
|
||||
cholli
|
||||
];
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/398456
|
||||
home.enableNixpkgsReleaseCheck = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
services.tailscale = {
|
||||
|
|
|
|||
|
|
@ -12,14 +12,31 @@ topLevel: {
|
|||
};
|
||||
programs.dconf.enable = true;
|
||||
|
||||
imports = with topLevel.config.flake.modules.nixos; [
|
||||
imports =
|
||||
with topLevel.config.flake.modules.nixos;
|
||||
[
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
|
||||
base
|
||||
server
|
||||
cholli
|
||||
];
|
||||
]
|
||||
|
||||
++ [
|
||||
{
|
||||
home-manager.users.cholli = {
|
||||
imports = with topLevel.config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
|
||||
# Activate all user based config
|
||||
cholli
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = topLevel.config.flake.meta.users.cholli.username;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ in
|
|||
|
||||
termscp
|
||||
nixpkgs-review
|
||||
# inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.star-citizen
|
||||
];
|
||||
|
||||
services.teamviewer.enable = true;
|
||||
|
|
@ -40,7 +41,9 @@ in
|
|||
AddressFamily inet
|
||||
'';
|
||||
|
||||
imports = with config.flake.modules.nixos; [
|
||||
imports =
|
||||
with config.flake.modules.nixos;
|
||||
[
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
||||
inputs.nixos-hardware.nixosModules.common-pc
|
||||
inputs.nixos-hardware.nixosModules.common-pc-ssd
|
||||
|
|
@ -66,7 +69,23 @@ in
|
|||
|
||||
# Users
|
||||
cholli
|
||||
root
|
||||
]
|
||||
++ [
|
||||
{
|
||||
home-manager.users.cholli = {
|
||||
imports = with config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
dev
|
||||
|
||||
# Activate all user based config
|
||||
cholli
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
|
||||
nix = {
|
||||
|
|
|
|||
|
|
@ -18,30 +18,8 @@ topLevel: {
|
|||
|
||||
modules = {
|
||||
nixos.cholli =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
{
|
||||
home-manager.users.cholli = {
|
||||
imports = with topLevel.config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
dev
|
||||
|
||||
# Activate all user based config
|
||||
cholli
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
programs.fish.enable = true;
|
||||
sops.secrets.passwordHash.neededForUsers = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,28 +1,8 @@
|
|||
topLevel: {
|
||||
flake = {
|
||||
modules.nixos.root =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
{
|
||||
home-manager.users.root = {
|
||||
imports = with topLevel.config.flake.modules.homeManager; [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
|
||||
# components
|
||||
base
|
||||
|
||||
# Activate all user based config
|
||||
cholli # TODO: make root based config that makes it clear I am root user right now
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
programs.fish.enable = true;
|
||||
sops.secrets.passwordHash.neededForUsers = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue