Skip to content

Commit

Permalink
✨ Nix Flakes Home-manager Builds!
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuggle committed Aug 31, 2024
1 parent b27bc69 commit 6dff2a7
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 188 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 2 additions & 15 deletions home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}: {
# You can import other home-manager modules here
imports = [
../config/dconf/dconf.nix
# If you want to use home-manager modules from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModule

Expand Down Expand Up @@ -38,14 +39,6 @@
};
};

# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.

# The home.packages option allows you to install Nix packages into your
# environment.
Expand Down Expand Up @@ -110,7 +103,6 @@
sha256 = "1d16baihs6d95zkj0mvm7drmyxjnxybwbrivjf91a0innjlhdz07";
};
};
imports = [ ../config/dconf/dconf.nix ];

gtk = {
enable = true;
Expand Down Expand Up @@ -327,10 +319,6 @@
};
};

# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

# TODO: Set your username
home = {
username = "snuggle";
homeDirectory = "/home/snuggle";
Expand All @@ -340,9 +328,8 @@
# programs.neovim.enable = true;
# home.packages = with pkgs; [ steam ];

# Enable home-manager and git
# Enable home-manager
programs.home-manager.enable = true;
programs.git.enable = true;

# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
Expand Down
2 changes: 1 addition & 1 deletion hosts/cherry/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix
#./packages.nix
./packages.nix
];

nixpkgs = {
Expand Down
6 changes: 0 additions & 6 deletions hosts/cherry/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ fileSystems."/boot" = {
fsType = "vfat";
};

fileSystems."/mnt/fruit-salad" = {
device = "/dev/disk/by-uuid/917d6f24-1f40-4019-9efa-c9cd6be4c5f6";
fsType = "btrfs";
options = [ "nofail" "x-systemd.device-timeout=10s" "defaults" ];
};

/* fileSystems."/homesweet" = {
device = "homesweet.server:/mnt/homesweet/users/snuggle";
fsType = "nfs";
Expand Down
2 changes: 1 addition & 1 deletion hosts/cherry/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ environment.systemPackages = with pkgs; [
yubioath-flutter
#whatsapp-for-linux
#xkeysnail
zoom-us
#zoom-us

#displaylink

Expand Down
74 changes: 0 additions & 74 deletions setup/build.sh

This file was deleted.

26 changes: 0 additions & 26 deletions setup/linux_setup.sh

This file was deleted.

18 changes: 0 additions & 18 deletions setup/macos_setup.sh

This file was deleted.

47 changes: 0 additions & 47 deletions switch

This file was deleted.

0 comments on commit 6dff2a7

Please sign in to comment.