This commit is contained in:
Aaron Honeycutt 2025-05-08 20:15:36 -06:00
parent eceb48542f
commit f7b7ce41ce
3 changed files with 8 additions and 29 deletions

View file

@ -4,10 +4,6 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; #nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-cosmic = {
url = "github:lilyinstarlight/nixos-cosmic";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.11"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -16,7 +12,7 @@
pinix.url = "github:remi-dupre/pinix"; pinix.url = "github:remi-dupre/pinix";
}; };
outputs = inputs@{ self, nixpkgs, nixos-cosmic, home-manager, nixos-hardware, pinix, ... }: { outputs = inputs@{ self, nixpkgs, home-manager, nixos-hardware, pinix }: {
nixosConfigurations = { nixosConfigurations = {
"nixos" = nixpkgs.lib.nixosSystem { "nixos" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@ -62,20 +58,13 @@
./garrus.nix ./garrus.nix
./gnome.nix ./gnome.nix
./configuration.nix ./configuration.nix
nixos-hardware.nixosModules.system76
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.aaronh = import ./home.nix; home-manager.users.aaronh = import ./home.nix;
} }
nixos-hardware.nixosModules.system76
{
nix.settings = {
substituters = [ "https://cosmic.cachix.org/" ];
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
};
}
nixos-cosmic.nixosModules.default
]; ];
}; };

View file

@ -1,20 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "aaronh";
home.homeDirectory = "/home/aaronh";
# This value determines the Home Manager release that your home = {
# configuration is compatible with. This helps avoid breakage username = "aaronh";
# when a new Home Manager release introduces backwards homeDirectory = "/home/aaronh";
# incompatible changes. stateVersion = "24.11";
# };
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "24.11";
home.packages = with pkgs; [ home.packages = with pkgs; [
deja-dup deja-dup

View file

@ -70,9 +70,7 @@
# Enable SSH # Enable SSH
services.openssh.enable = true; services.openssh.enable = true;
# Enable CUPS # Enable Tailscale
services.printing.enable = true;
services.tailscale.enable = true; services.tailscale.enable = true;
# Allow Unfree # Allow Unfree