mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-10 02:02:36 +08:00
updates, etc.
This commit is contained in:
parent
d1b6266b28
commit
6c6ffb304c
4 changed files with 16 additions and 13 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -467,17 +467,17 @@
|
|||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1623324058,
|
||||
"narHash": "sha256-Jm9GUTXdjXz56gWDKy++EpFfjrBaxqXlLvTLfgEi8lo=",
|
||||
"lastModified": 1623580589,
|
||||
"narHash": "sha256-Ayp1cjXpwFCkAiWUE46rj9APTltsiEBdIs2+cj+U7+c=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "432fc2d9a67f92e05438dff5fdc2b39d33f77997",
|
||||
"rev": "fa0326ce5233f7d592271df52c9d0812bec47b84",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "432fc2d9a67f92e05438dff5fdc2b39d33f77997",
|
||||
"rev": "fa0326ce5233f7d592271df52c9d0812bec47b84",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# https://status.nixos.org/
|
||||
#
|
||||
# This ensures that we always use the official # cache.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/432fc2d9a67f92e05438dff5fdc2b39d33f77997";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/fa0326ce5233f7d592271df52c9d0812bec47b84";
|
||||
|
||||
nixos-hardware.url = github:NixOS/nixos-hardware/master;
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
|
|
|
|||
1
home.nix
1
home.nix
|
|
@ -26,6 +26,7 @@ rec {
|
|||
procs # no more: ps -ef | grep
|
||||
tealdeer
|
||||
zellij
|
||||
dust
|
||||
# ^ easy to forget these; write SRS?
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -56,15 +56,14 @@
|
|||
networking.interfaces.enp0s31f6.useDHCP = true;
|
||||
networking.interfaces.wlp4s0.useDHCP = true;
|
||||
|
||||
programs.mosh.enable = true;
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "nvidia" "intel" ];
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.ipfs = {
|
||||
|
|
@ -73,10 +72,9 @@
|
|||
};
|
||||
services.netdata.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.srid = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
programs = {
|
||||
mosh.enable = true;
|
||||
steam.enable = true;
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
|
|
@ -97,7 +95,11 @@
|
|||
vscode
|
||||
];
|
||||
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.srid = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue