wine-wow, reformatted

This commit is contained in:
Aria Nolan 2023-10-08 14:42:42 -04:00
parent 4f62b274ba
commit 5be3303eb5
3 changed files with 69 additions and 11 deletions

48
flake.lock Normal file
View file

@ -0,0 +1,48 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1696737557,
"narHash": "sha256-YD/pjDjj/BNmisEvRdM/vspkCU3xyyeGVAUWhvVSi5Y=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "3c1d8758ac3f55ab96dcaf4d271c39da4b6e836d",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1696604326,
"narHash": "sha256-YXUNI0kLEcI5g8lqGMb0nh67fY9f2YoJsILafh6zlMo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "87828a0e03d1418e848d3dd3f3014a632e4a4f64",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -10,7 +10,7 @@
};
};
outputs = { nixpkgs, home-manager, ... }:
outputs = inputs @ { nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -24,6 +24,7 @@
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
extraSpecialArgs = {inherit inputs;};
};
};
}

View file

@ -1,10 +1,19 @@
{ config, pkgs, ... }:
{
home = {
username = "tacocat";
homeDirectory = "/home/tacocat";
stateVersion = "23.11";
packages = with pkgs; [
wineWowPackages.unstable
];
};
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "tacocat";
home.homeDirectory = "/home/tacocat";
# home.username = "tacocat";
# home.homeDirectory = "/home/tacocat";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
@ -13,11 +22,11 @@
# 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 = "23.05"; # Please read the comment before changing.
# home.stateVersion = "23.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = [
# home.packages = [
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
@ -34,11 +43,11 @@
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
];
# ];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
@ -49,7 +58,7 @@
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
# };
# You can also manage environment variables but you will have to manually
# source
@ -61,9 +70,9 @@
# /etc/profiles/per-user/tacocat/etc/profile.d/hm-session-vars.sh
#
# if you don't want to manage your shell through Home Manager.
home.sessionVariables = {
# EDITOR = "emacs";
};
# home.sessionVariables = {
# EDITOR = "lvim";
# };
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;