setup-env #1

Merged
noah.knegt merged 28 commits from setup-env into main 2025-02-28 21:49:32 +01:00
5 changed files with 16 additions and 5 deletions
Showing only changes of commit 5efedf035d - Show all commits

View File

@@ -1,3 +1,7 @@
# setup-machines
This repo contains all the tools to correctly setup all the needed tools on a machine from clean install
```sh
home-manager switch --flake .#noahk@NixOS_Desktop
```

View File

@@ -2,9 +2,9 @@
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};

View File

@@ -14,6 +14,8 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
./spotify.nix
];
nixpkgs = {
@@ -55,5 +57,5 @@
systemd.user.startServices = sd-switch;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = 24.05;
home.stateVersion = 24.11;
}

5
home-manager/spotify.nix Normal file
View File

@@ -0,0 +1,5 @@
{ pkgs, ... }: {
programs.spotify = {
enable = true;
}
}

View File

@@ -117,6 +117,6 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
system.stateVersion = "24.11"; # Did you read the comment?
}