mirror of
https://codeberg.org/muon/home.git
synced 2026-07-03 23:49:35 +00:00
Compare commits
No commits in common. "8eb34e181400874d7b3fb6f583439dbe3b2a128f" and "b2a14d546866d38b25aa4200e1a833a26ed7fc58" have entirely different histories.
8eb34e1814
...
b2a14d5468
7 changed files with 90 additions and 65 deletions
82
flake.lock
generated
82
flake.lock
generated
|
|
@ -291,9 +291,7 @@
|
|||
"impermanence": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769548169,
|
||||
|
|
@ -350,9 +348,7 @@
|
|||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771150922,
|
||||
|
|
@ -409,9 +405,7 @@
|
|||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1750164803,
|
||||
|
|
@ -428,6 +422,54 @@
|
|||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1768564909,
|
||||
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1771008912,
|
||||
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1748929857,
|
||||
"narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1774106199,
|
||||
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
|
||||
|
|
@ -443,6 +485,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1767767207,
|
||||
"narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5912c1772a44e31bf1c63c0390b90501e5026886",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
|
|
@ -500,7 +558,7 @@
|
|||
"nix-alien": "nix-alien",
|
||||
"nix-flatpak": "nix-flatpak",
|
||||
"nix-minecraft": "nix-minecraft",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nvf": "nvf",
|
||||
"sops-nix": "sops-nix",
|
||||
"stylix": "stylix",
|
||||
|
|
@ -558,9 +616,7 @@
|
|||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"gnome-shell": "gnome-shell",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs": "nixpkgs_5",
|
||||
"nur": "nur",
|
||||
"systems": "systems_3",
|
||||
"tinted-foot": "tinted-foot",
|
||||
|
|
|
|||
18
flake.nix
18
flake.nix
|
|
@ -9,13 +9,9 @@
|
|||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
impermanence.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
stylix.url = "github:danth/stylix";
|
||||
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-alien.url = "github:thiagokokada/nix-alien";
|
||||
nix-alien.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nvf = {
|
||||
url = "github:NotAShelf/nvf";
|
||||
|
|
@ -28,14 +24,11 @@
|
|||
};
|
||||
|
||||
nix-minecraft.url = "git+https://codeberg.org/nix-astral/nix-minecraft.git";
|
||||
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
||||
valheim-server.url = "github:kmjayadeep/valheim-server-flake";
|
||||
valheim-server.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
|
||||
nix-flatpak.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
|
|
@ -62,8 +55,7 @@
|
|||
nixosConfigs = builtins.listToAttrs (map (host: {
|
||||
name = host;
|
||||
value = utils.mkHost ./hosts/${host}/configuration.nix;
|
||||
})
|
||||
hosts);
|
||||
}) hosts);
|
||||
in {
|
||||
nixosConfigurations = nixosConfigs;
|
||||
|
||||
|
|
@ -78,8 +70,7 @@
|
|||
hostConfig = nixosConfigs.${host};
|
||||
homeFile = ./hosts/${host}/home.nix;
|
||||
};
|
||||
})
|
||||
hosts);
|
||||
}) hosts);
|
||||
|
||||
colmena = {
|
||||
meta = {
|
||||
|
|
@ -103,11 +94,6 @@
|
|||
./modules/nixos
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.stylix.nixosModules.stylix
|
||||
inputs.impermanence.nixosModules.impermanence
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
inputs.stylix.homeManagerModules.stylix
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -82,14 +82,6 @@ in {
|
|||
};
|
||||
networking.firewall.allowedTCPPorts = [80];
|
||||
|
||||
# Wildcard DNS: *.word.local -> 127.0.0.1 via NetworkManager's built-in dnsmasq
|
||||
networking.networkmanager.dns = "dnsmasq";
|
||||
# Force resolv.conf to use local dnsmasq so wildcard DNS is actually queried
|
||||
networking.resolvconf.useLocalResolver = true;
|
||||
environment.etc."NetworkManager/dnsmasq.d/word-local.conf".text = ''
|
||||
address=/.word.local/127.0.0.1
|
||||
'';
|
||||
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = ["user-with-access-to-virtualbox"];
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# Modules
|
||||
mods.desktop.enable = false;
|
||||
|
||||
mods.theme.enable = false;
|
||||
mods.theme.enable = true;
|
||||
mods.theme.scheme = "woodland";
|
||||
mods.theme.wallpaper = ./wallpaper.png;
|
||||
|
||||
|
|
@ -42,16 +42,6 @@ in {
|
|||
mods.server.wireguard.enable = true;
|
||||
mods.server.nginx.enable = true;
|
||||
|
||||
documentation = {
|
||||
enable = false;
|
||||
nixos.enable = false;
|
||||
man.enable = false;
|
||||
info.enable = false;
|
||||
doc.enable = false;
|
||||
};
|
||||
|
||||
i18n.supportedLocales = ["en_US.UTF-8/UTF-8"];
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: {
|
||||
{ pkgs, lib, osConfig,... }: {
|
||||
# Modules
|
||||
mods.terminal.zsh.enable = true;
|
||||
mods.terminal.development.enable = true;
|
||||
mods.terminal.tools.enable = true;
|
||||
|
||||
# Version of first install
|
||||
home.stateVersion = "24.05";
|
||||
|
|
|
|||
|
|
@ -30,10 +30,6 @@
|
|||
search = 8081;
|
||||
videos = 8082;
|
||||
reddit = 8083;
|
||||
|
||||
# docker compose
|
||||
discord = 2052;
|
||||
livekit = 7880;
|
||||
};
|
||||
mods.server.local.ports = {
|
||||
# grav = 5001
|
||||
|
|
|
|||
|
|
@ -103,6 +103,14 @@ in
|
|||
127.0.0.1 word.local
|
||||
'';
|
||||
|
||||
# Wildcard DNS: *.word.local -> 127.0.0.1 via NetworkManager's built-in dnsmasq
|
||||
networking.networkmanager.dns = "dnsmasq";
|
||||
# Force resolv.conf to use local dnsmasq so wildcard DNS is actually queried
|
||||
networking.resolvconf.useLocalResolver = true;
|
||||
environment.etc."NetworkManager/dnsmasq.d/word-local.conf".text = ''
|
||||
address=/.word.local/127.0.0.1
|
||||
'';
|
||||
|
||||
# gateway =
|
||||
# "${pkgs.networkmanager}/bin/nmcli dev show ${interface} | ${pkgs.gnugrep}/bin/fgrep IP4.GATEWAY | ${pkgs.awk}/bin/awk {print $2}";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue